Part Number Hot Search : 
LG5040 MAX705 SMA5819 2SD1775A 8HRTZ 2N5401C EKK6111 HY57V
Product Description
Full Text Search
 

To Download 90E32 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  poly-phase high-performance wide-span energy metering ic 90E32 version 1.1 december 9, 2011 6024 silver creek valley road, san jose, ca 95138 ? 2011 integrated device technology, inc.
disclaimer integrated device technology, inc. reserves the right to make changes to its products or specifications at any time, without no tice, in order to improve design or performance and to supply the best pos- sible product. idt does not assume any res ponsibility for use of any circuitry described other than the circuitry embodied in a n idt product. the company makes no representations that circuitry described herein is free from patent infringement or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent, pat ent rights or other rights, of integrated device technology, inc. life support policy integrated device technology's products ar e not authorized for use as critical com ponents in life support devices or systems un less a specific written agr eement pertaining to such intended use is exe- cuted between the manufacture r and an officer of idt. 1. life support devices or systems are devices or systems whic h (a) are intended for surgical implant into the body or (b) supp ort or sustain life and whose failure to perform, when properly used in accordance with instructions for use provided in the labeling, can be reasonably expected to result in a significant injury to the user. 2. a critical component is any components of a life support device or system whose fa ilure to perform can be reasonably expecte d to cause the failure of the life suppor t device or system, or to affect its safety or effectiveness.
table of contents 3 december 9, 2011 features ............. ................. ................ ................. .............. .............. .............. .............. ................. .............. .............. .......... 7 application ............. ................ ................. .............. .............. .............. ............... ............. .................... .............. ............ ....... 7 general description .......... ................. ................ ................. ................ ................. ............... ................ ................ .......... 7 block diagram .................. ................ ................. ................ ................. ................ .............. ............... .............. ............ ....... 8 1 pin assignment ....... ................ ................. .............. .............. .............. ............... .............. ................ ................. ............. 9 2 pin description ........... ................ ................. ................ ................. ................ ................. ................ ................. ........... 10 3 function description ...... ................ ................. ................ ................. ................ ................. .............. .............. ......... 12 3.1 power supply ............................................................................................................... ........................................................................... 12 3.2 clock ...................................................................................................................... .................................................................................... 12 3.3 reset ...................................................................................................................... ..................................................................................... 12 3.3.1 reset pin ................................................................................................................ ....................................................................... 12 3.3.2 power on reset (por) ..................................................................................................... ............................................................. 12 3.3.3 software reset ........................................................................................................... .................................................................... 12 3.4 metering function .......................................................................................................... ...................................................................... 13 3.4.1 theory of energy registers ............................................................................................... ........................................................... 13 3.4.2 energy registers ......................................................................................................... ................................................................... 15 3.4.3 energy pulse output ...................................................................................................... ................................................................ 15 3.4.4 startup and no-load power ................................................................................................ ........................................................... 15 3.5 measurement function ....................................................................................................... ................................................................ 17 3.5.1 active/ reactive/ apparent power ......................................................................................... ....................................................... 17 3.5.2 fundamental / harmonic active power ...................................................................................... .................................................. 17 3.5.3 mean power factor (pf) ................................................................................................... ............................................................. 17 3.5.4 voltage / current rms .................................................................................................... ............................................................... 17 3.5.5 phase angle .............................................................................................................. ...................................................................... 18 3.5.6 frequency ................................................................................................................ ....................................................................... 18 3.5.7 temperature .............................................................................................................. ..................................................................... 18 3.5.8 thd+n for voltage and current ............................................................................................ ........................................................ 18 3.6 power mode ................................................................................................................. ............................................................................. 19 3.6.1 normal mode (n mode) ..................................................................................................... ............................................................. 19 3.6.2 idle mode (i mode) ....................................................................................................... ................................................................... 20 3.6.3 detection mode (d mode) .................................................................................................. ............................................................ 22 3.6.4 partial measurement mode (m mode) ........................................................................................ ................................................... 23 3.6.5 transition of power modes ................................................................................................ ........................................................... 24 3.7 event detection ............................................................................................................ ......................................................................... 25 3.7.1 zero-crossing detection .................................................................................................. ............................................................. 25 3.7.2 sag detection ............................................................................................................ ..................................................................... 25 3.7.3 phase loss detection ..................................................................................................... ............................................................... 25 3.7.4 computed neutral line overcurrent detection .............................................................................. ............................................. 25 3.7.5 phase sequence error detection ........................................................................................... ...................................................... 25 3.8 dc and current rm s estimation .............................................................................................. ........................................................ 25 4 spi interface ............. ................. ................ ................. ................ ................. ................ ................. ................ .............. 26 4.1 interface description ...................................................................................................... ................................................................... 26 4.2 spi interface .............................................................................................................. .............................................................................. 27 4.2.1 spi slave interface format ............................................................................................... ............................................................. 27 4.2.2 reliability enhancement feature .......................................................................................... ........................................................ 27 5 calibration method ......... ................ ................. ................ ................. ................ ................ ............. .............. ........... 28 5.1 normal mode operation calibration .......................................................................................... ................................................. 28 table of contents
90E32 poly-phase high-performance wide-span energy metering ic 4 december 9, 2011 5.2 partial measurement mode calibration ....................................................................................... .............................................. 28 6 register ............. ................ ................. .............. .............. .............. ............... .............. ................ .............. ............ ......... 29 6.1 register list .............................................................................................................. .............................................................................. 29 6.2 special registers .......................................................................................................... ........................................................................ 36 6.2.1 soft reset register ...................................................................................................... .................................................................. 36 6.2.2 irq and warnout signal generation ........................................................................................ .................................................... 37 6.2.3 special configuration registers .......................................................................................... ......................................................... 41 6.2.4 last spi data register ................................................................................................... ................................................................ 43 6.3 low-power modes registers .................................................................................................. .......................................................... 44 6.3.1 detection mode registers ................................................................................................. ............................................................ 44 6.3.2 partial measurement mode registers ....................................................................................... ................................................... 46 6.4 configuration and calibration registers .................................................................................... ............................................ 49 6.4.1 start registers and associat ed checksum operation scheme ................................................................. ............................... 49 6.4.2 configuration registers .................................................................................................. .............................................................. 49 6.4.3 energy calibration registers ............................................................................................. ........................................................... 53 6.4.4 fundamental/harmonic energy calibration registers ........................................................................ ........................................ 55 6.4.5 measurement calibration .................................................................................................. ............................................................ 55 6.5 energy register ............................................................................................................ ........................................................................ 56 6.5.1 regular energy registers ................................................................................................. ............................................................ 56 6.5.2 fundamental / harmonic energy register ................................................................................... ................................................ 57 6.6 measurement registers ...................................................................................................... ............................................................... 57 6.6.1 power and power factor registers ......................................................................................... ..................................................... 57 6.6.2 fundamental/ harmonic power and voltage/ current rms registers ........................................................... ........................... 58 6.6.3 thd+n, frequency, angle and temperature registers ........................................................................ ..................................... 59 7 electrical specificatio n .................. .............. .............. .............. .............. .............. ............. ............. ............ ......... 61 7.1 electrical specification ................................................................................................... ................................................................ 61 7.2 metering/ measurement accuracy ............................................................................................. ................................................... 63 7.2.1 metering accuracy ........................................................................................................ ................................................................. 63 7.2.2 measurement accuracy ..................................................................................................... ............................................................ 64 7.3 interface timing ........................................................................................................... .......................................................................... 65 7.3.1 spi interface timing (slave mode) ........................................................................................ ........................................................ 65 7.4 power on reset timing ...................................................................................................... .................................................................. 66 7.5 zero-crossing timing ....................................................................................................... .................................................................... 67 7.6 voltage sag and phase loss timing .......................................................................................... .................................................... 68 7.7 absolute maximum rating .................................................................................................... .............................................................. 69 package dimensions............ ................. ................ ................. ................ ................. .............. ................. .............. .......... 70 ordering information........ ................. ................ ................. ................ ................. ................ ............... .............. .......... 71 datasheet document history... ................ ................. ................ ................. ................ ................ ................. ............. 71
list of tables 5 december 9, 2011 table-1 pin description ...................................................................................................... ....................................................................................... 10 table-2 power mode mapping ................................................................................................... ............................................................................... 19 table-3 digital i/o and power pin states in idle mode ........................................................................ ..................................................................... 20 table-4 register list ........................................................................................................ ......................................................................................... 29 table-5 configuration registers .............................................................................................. ................................................................................. 49 table-6 calibration registers ................................................................................................ .................................................................................... 53 table-7 fundamental/harmonic e nergy calibration registers .................................................................... ............................................................. 55 table-8 measurement cali bration registers .................................................................................... ......................................................................... 55 table-9 regular energy registers ............................................................................................. ............................................................................... 56 table-10 fundamental / harmonic energy register .............................................................................. ..................................................................... 57 table-11 power and power factor register ..................................................................................... .......................................................................... 57 table-12 fundamental/ harmonic power and voltage/ current rms registers ...................................................... .................................................. 58 table-13 thd+n, frequency, angl e and temperature registers ................................................................... ........................................................... 59 table-14 metering accuracy for different energy within the dynamic range ..................................................... ....................................................... 63 table-15 measurement parameter range and format .............................................................................. ................................................................ 64 table-16 spi timing specification ............................................................................................ .................................................................................. 65 table-17 power on reset specification ........................................................................................ ............................................................................. 66 table-18 zero-crossing specification ......................................................................................... ................................................................................ 67 list of tables
list of figures 6 december 9, 2011 figure-1 90E32 block diagram ................................................................................................. ................................................................................... 8 figure-2 pin assignment (top view) ........................................................................................... ................................................................................. 9 figure-3 energy register operation diagram ................................................................................... ......................................................................... 14 figure-4 cfx pulse output regulation ......................................................................................... ............................................................................. 15 figure-5 metering startup handling ........................................................................................... ................................................................................ 16 figure-6 block diagram in normal mode ........................................................................................ ........................................................................... 19 figure-7 block diagram in idle mode .......................................................................................... ............................................................................... 20 figure-8 block diagram in detection mode ..................................................................................... ........................................................................... 22 figure-9 block diagram in partial measurement mode ........................................................................... ................................................................... 23 figure-10 power mode transition .............................................................................................. ................................................................................. 24 figure-11 slave mode ......................................................................................................... ........................................................................................ 26 figure-12 read sequence ...................................................................................................... ..................................................................................... 27 figure-13 write sequence ..................................................................................................... ...................................................................................... 27 figure-14 irq and warnout generation ......................................................................................... ............................................................................ 37 figure-15 current detection register latching scheme ......................................................................... .................................................................... 44 figure-16 start and checksum r egister operation scheme ....................................................................... ............................................................... 49 figure-17 spi timing diagram ................................................................................................. ................................................................................... 65 figure-18 power on reset timing (90E32 and mcu are powered on simultaneously) ................................................ ............................................ 66 figure-19 power on reset timing in no rmal & partial measurement mode ......................................................... ..................................................... 66 figure-20 zero-crossing timi ng diagram (per phase) ........................................................................... ..................................................................... 67 figure-21 voltage sag and phase loss timing diagram .......................................................................... .................................................................. 68 list of figures
7 december 9, 2011 90E32 preliminary information* ? 2011 integrated device technology, inc. *notice: the information in this documen t is subject to change without notice poly-phase high-performance wide-span energy metering ic idt and the idt logo are trademarks of integrated device technology, inc. features metering features ? metering features fully in compliance with the requirements of iec62052-11, iec62053-22 and iec62053-23, ansi c12.1 and ansi c12.20; applicable in class 0.5s or class 1 poly-phase watt-hour meter or class 2 poly-phase var-hour meter. ? accuracy of 0.1% for active energy and 0.2% for reactive energy over the dynamic range of 5000:1. ? temperature coefficient is 6 ppm/ (typical) for on-chip refer- ence voltage. ? single-point calibration on eac h phase over the whole dynamic range for active energy; no calibration needed for reactive/ apparent energy. ? 1 (typical) temperature sensor accuracy. ? electrical parameters m easurement: less than 0.5% fiducial error for vrms, irms, mean active/ reactive/ apparent power, fre- quency, power factor and phase angle. ? active (forward/reverse), reac tive (forward/reverse), apparent energy with independent energy r egisters. active/ reactive/ apparent energy can be output by pulse or read through energy registers to adapt to different applications. ? programmable startup and no-load power threshold, special designed of startup and no-load circ uits to eliminate crosstalk among phases achieving bette r accuracy especially at low power conditions. ? dedicated adc and different gains for phase a/b/c current sam- pling circuits. current sampled ov er current transformer (ct) or rogowski coil (di/dt coil); phase a/b/c voltage sampled over resistor divider network or potential transformer (pt). ? programmable power modes: no rmal mode (n mode), idle mode (i mode), detection mode (d mode) and partial measure- ment mode (m mode). ? fundamental (cf3, 0.2%) and harmonic (cf4, 1%) active energy with dedicated energy and power registers. ? event detection: sag, phase loss, reverse voltage/ current phase sequence, reverse flow, calculated neutral line current i nc over- current and thd+n over-threshold. other features ? 3.3v single power supply. oper ating voltage range: 2.8v~3.6v. metering accuracy guaranteed within 3.0v~3.6v. ? four-wire spi interface. ? parameter diagnosis function and programmable interrupt output of the irq interrupt signals and the warnout signal. ? programmable voltage sag detection and zero-crossing output. ? cf1/cf2/cf3/cf4 output acti ve/ reactive/ apparent energy pulses and fundamental/ harmonic energy pulses respectively. ? crystal oscillator frequency: 16. 384 mhz. on-chip two capacitors and no need of external capacitors. ? tqfp48 package. ? operating temperature: -40 ~ +85 . application ? poly-phase energy meters of class 0.5s and class 1 which are used in three-phase four-wire (3 p4w, y0) or three-phase three- wire (3p3w, y or ? ) systems. ? power monitoring instruments which need to measure voltage, current, mean power, etc. general description the 90E32 is a poly-phase high performance wide-dynamic range metering ic. the 90E32 incorporates 6 independent 2nd order sigma- delta adcs, which could be employ ed in three voltage channels (phase a, b and c) and three current channels (phase a, b, c) in a typical three-phase four-wire system. the 90E32 has an embedded dsp which executes calculation of active energy, reactive energy, apparent energy, fundamental and har- monic active energy over adc si gnal and on-chip reference voltage. the dsp also calculates measurem ent parameters such as voltage and current rms value as well as m ean active/reactive/apparent power. a four-wire spi interface is provided between the 90E32 and the external microcontroller. the 90E32 is suitable for poly-phase multi-function meters which could measure active/reactive/ apparent energy and fundamental/har- monic energy either through f our independent energy pulse outputs cf1/cf2/cf3/cf4 or through the corresponding registers. idt's proprietary adc and auto-te mperature compensation technol- ogy for reference voltage ensure t he 90E32's long-term stability over variations in grid and am bient environment conditions.
90E32 poly-phase high-performance wide-span energy metering ic block diagram 8 december 9, 2011 block diagram figure-1 90E32 block diagram vdd18 regulator temperature sensor current detector adc-v1 adc-v2 adc-v3 adc-i1 adc-i2 adc-i3 spi interface dsp energy metering (forward/reverse active/reactive/cf generator) measure and monitoring (v/i/rms / sag / phase / frequency) control logic zero crossing cf out power on reset crystal oscillator reference voltage vref i1p / i1n v1p / v1n cs sclk sdo sdi osci osco reset cf1 zx0 i2p / i2n i3p / i3n v2p / v2n v3p / v3n cf2 cf3 cf4 zx1 zx2 power mode configuration pm1 pm0 irq warnout irq0 irq1 warn out
90E32 poly-phase high-performance wide-span energy metering ic pin assignment 9 december 9, 2011 1 pin assignment figure-2 pin assignment (top view) 1 2 3 4 5 6 8 9 10 11 13 25 avdd agnd i1p i1n i2p i2n v1p v1n vref agnd warnout cs test nc ic pm0 sclk cf1 cf2 zx0 irq0 7 12 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 i3p i3n ic ic v2p v2n v3p v3n dgnd osci osco zx1 zx2 cf3 cf4 irq1 pm1 sdo sdi reset vdd18 vdd18 dgnd nc nc dgnd dvdd
90E32 poly-phase high-performance wide-span energy metering ic pin description 10 december 9, 2011 2 pin description table-1 pin description name pin no. i/o type description reset 41 i lvttl reset: reset pin (active low) this pin should connect to ground through a 0.1 f filter capacitor and a 10k ? resistor to vdd. in application it can also directly connect to one output pin from microcontroller (mcu). avdd 1 i power avdd: analog power supply this pin provides power supply to the analog part. this pin should connect to dvdd and be decoupled with a 0.1 f capacitor. dvdd 48 i power dvdd: digital power supply this pin provides power supply to the digital part. it should be decoupled with a 10 f capac- itor and a 0.1 f capacitor. vdd18 42, 43 p power vdd18: digital power supply (1.8 v) these two pins should be connected together and connected to ground through a 10 f capacitor. dgnd 19, 44, 47 i power dgnd: digital ground agnd 2, 12 i power agnd: analog ground i1p i1n 3 4 i analog i1p: positive input for phase a current i1n: negative input for phase a current these pins are differential inputs for phase a current. note: i1 to phase a and i3 to phase c mapping can be swapped by configuring the i1i3swap bit (b13, mmode0) . i2p i2n 5 6 i analog i2p: positive input for phase b current i2n: negative input for phase b current these pins are differential inputs for phase b current. i3p i3n 7 8 i analog i3p: positive input for phase c current i3n: negative input for phase c current these pins are differential inputs for phase c current. note: i1 to phase a and i3 to phase c mapping can be swapped by configuring the i1i3swap bit (b13, mmode0) . vref 11 o analog vref: output pin for reference voltage this pin should be decoupled with a 10 f capacitor, possibly a 0.1 f ceramic capacitor and a 1nf ceramic capacitor. v1p v1n 13 14 i analog v1p: positive input for phase a voltage v1n: negative input for phase a voltage these pins are differential inputs for phase a voltage. v2p v2n 15 16 i analog v2p: positive input for phase b voltage v2n: negative input for phase b voltage these pins are differential inputs for phase b voltage. v3p v3n 17 18 i analog v3p: positive input for phase c voltage v3n: negative input for phase c voltage these pins are differential inputs for phase c voltage. osci 20 i osc osci: external crystal input osco: external crystal output a 16.384 mhz crystal is connected between osci and osco. there are two on-chip capac- itor, therefore no need of external capacitors. osco 21 o osc zx0 zx1 zx2 22 23 24 o lvttl zx2/zx1/zx0:zero-crossing output these pins are asserted when voltage or current crosses zero. zero-crossing mode can be configured by the zxconfig register (07h). cf1 25 o lvttl cf1: (all-phase-sum total) active energy pulse output cf2 26 o lvttl cf2: (all-phase-sum total) reacti ve/ apparent energy pulse output the output of this pin is determined by the cf2varh bit (b7, mmode0 ) and the cf2esv bit (b8, mmode0 ).
90E32 poly-phase high-performance wide-span energy metering ic pin description 11 december 9, 2011 cf3 27 o lvttl cf3: (all-phase-sum total) active fundamental energy pulse output cf4 28 o lvttl cf4: (all-phase-sum total) active harmonic energy pulse output warnout 29 o lvttl warnout: fatal error warning this pin is asserted high when there is metering related parameter checksum error. other- wise this pin stays low. refer to 6.2.2 irq and warnout signal generation . irq0 30 o lvttl irq0: interrupt output 0 this pin is asserted when one or more events in the sysstatus0 register (01h) occur. it is deasserted when there is no bit set in the sysstatus0 register (01h). in detection mode, the irq0 is used to indicate the output of current detector. the irq0 state is cleared when entering or exiting detection mode. irq1 31 o lvttl irq1: interrupt output 1 this pin is asserted when one or more events in the sysstatus1 register (02h) occur. it is deasserted when there is no bit set in the sysstatus1 register (02h). in detection mode, the irq1 is used to indicate the output of current detector. the irq1 state is cleared when entering or exiting detection mode. pm0 pm1 33 34 i lvttl pm1/0: power mode configuration these two pins define the power mode of 90E32. refer to table-2 . cs 37 i lvttl cs : chip select (active low) in spi mode, this pin must be driven from high to low for each read/ write operation, and maintain low for the entire operation. sclk 38 i lvttl sclk: serial clock this pin is used as the clock for the spi interface. refer to 4 spi interface . sdo 39 o lvttl sdo: serial data output this pin is used as the data output for the spi mode. refer to 4 spi interface . sdi 40 i lvttl sdi: serial data input this pin is used as the data input for the spi mode. refer to 4 spi interface . test 32 i lvttl this pin should be always connected to dgnd in system application. ic 9, 10, 36 lvttl these pins should be always connected to dgnd in system application. nc 35, 45, 46 nc: these pins should be left open. table-1 pin description (continued) name pin no. i/o type description
90E32 poly-phase high-performance wide-span energy metering ic function description 12 december 9, 2011 3 function description 3.1 power supply the 90E32 works with single power rail 3.3v. an on-chip voltage reg- ulator regulates the 1.8v voltage for the digital logic. the regulated 1.8v power is connec ted to the vdd18 pin. it needs to be bypassed by an external capacitor. the 90E32 has multiple power modes, in idle and detection modes the 1.8v power regulator is not tur ned on and the digital logic is not pow- ered. when the logic is not powered, all the configured register values are not kept (all context lost) except for detection mode related registers (10h~13h) for detection mode configuration. user has to re-configure the regi sters in partial measurement mode or normal mode when transiting from idle or detection mode. refer to 3.6 power mode for power mode details. 3.2 clock the 90E32 has an on-chip oscillator and can directly connect to an external crystal. the osci pin can also be driven with a clock source. the oscillator will be powered down in idle and detection power modes, as described in 3.6 power mode . 3.3 reset there are three reset sources for the 90E32: - reset pin - on-chip power on reset circuit - software reset generated by the software reset register 3.3.1 reset pin the reset pin can be asserted to reset the 90E32. the reset pin has rc filter with typical time constant of 2 s in the i/o, as well as a 2 s (typical) de-glitch filter. any reset pulse that is shorter than 2 s can not reset the 90E32. 3.3.2 power on reset (por) the por circuit resets the 90E32 at power up. por circuit triggers reset when: - dvdd power up, crossing the pow er-up threshold. refer to fig- ure-19 . - vdd18 regulator changing from disabl e to enable, i.e. from idle or detection mode to partial meas urement mode or normal mode. refer to figure-18 . 3.3.3 software reset chip reset can be triggered by writing to the softreset register in normal mode. the software reset is the same as the reset scope gener- ated from the reset pin or por. these three reset sources have the same reset scope. all digital logics and registers, e xcept for the harmonic ratio regis- ters will be subject to reset. ? interface logic: clock dividers ? digital core/ logic: all register s except for some other special registers, refer to 6.3.1 detection mode registers .
90E32 poly-phase high-performance wide-span energy metering ic function description 13 december 9, 2011 3.4 metering function the accumulated energy is converted to pulse frequency on the cf pins and stored in the corresponding energy registers. the 90E32 pro- vides energy accumulation registers with 0.1 or 0.01 cf resolution. 0.01cf / 0.1cf setting is defined by the 001lsb bit (b9, mmode0 ). 3.4.1 theory of energy registers the energy accumulation runs at 1 mhz clock rate, by accumulating the power value calculated by the dsp processor. the power accumulation process is equi valent to digitally integrating the instantaneous power with a delta -time of about 1us. the accumu- lated energy is used to calculat e the cf pulses and the corresponding internal energy registers. the accumulated energy is conver ted to frequency of the cf pulses. one cf usually corresponds to 1kwh / mc (mc is meter constant, e.g. 3200 imp/kwh), and is usually referenc ed as an energy unit in this data- sheet. the internal energy resoluti on for accumulation and conversion is 0.01 cf. the 0.01 cf pulse energy constant is referenced as 'pl_constant'. within 0.01 cf, forward and reverse energy are counteracted. when energy exceeds 0.01 pulse, the respec tive forward/ reverse energy is increased. take the example of active energy, suppose: t0: forward energy register is 12.34 pulses and reverse energy reg- ister is 1.23 pulses. from t0 to t1: 0.005 forward pulses appeared. from t1 to t2: 0.004 reverse pulses appeared. from t2 to t3: 0.005 reverse pulses appeared. from t3 to t4: 0.007 reverse pulses appeared. the following table illustrates t he process of energy accumulation process: when forward/reverse energy reaches 0.1/0.01 pulse, the respective register is updated. when forward or reverse energy reaches 1 pulse, cfx pins output pulse and the revp/revq bits (b7~0, sysstatus1 ) are updated. refer to figure-3 . ? t0 t1 t2 t3 t4 input energy + 0.005 -0.004 -0.005 -0.007 bidirectional energy accumulator 0.005 0.001 -0.004 -0.001 forward 0.01 cf 0000 reverse 0.01cf 0001 forward energy register 12.34 12.34 12.34 12.34 12.34 reverse energy register 1.23 1.23 1.23 1.23 1.24
90E32 poly-phase high-performance wide-span energy metering ic function description 14 december 9, 2011 figure-3 energy register operation diagram for all-phase-sum total of active, reactive and (arithmetic sum) apparent energy, the associated pow er is obtained by summing the power of the three phases. the accumulation method of all-phase-sum energy is determined by the enpc/enpb/enpa/absenp/absenq bits (b0~b4, mmode0 ). note that the direction of all-phase-sum power and single-phase power might be different. cf gen logic cf pulse bi-directional energy accumulator, roll over positive/negative @ 0.01cf forward energy register accumulator reverse energy register accumulator energy accumulator @ 1mhz (-)0.01 cf (+)0.01 cf + ena abs or arithmetic enb enc phase-a phase-b phase-c power all-phase sum positive cf accumulator negative 0-cf accumulator cf[p/q]revflag forward energy accumulator backward energy accumulator energy accumulator @ 1mhz (-)0.01 cf (+)0.01 cf bi-directional energy accumulator, roll over positive/nega tive @ 0.01cf forward energy accumulator backward energy accumulator energy accumulator @ 1mhz (-)0.01 cf (+)0.01 cf bi-directional energy accumulator, roll over positive/negative @ 0.01cf forward energy register accumulator reverse energy register accumulator energy accumulator @ 1mhz (-)0.01 cf (+)0.01 cf rev[p/q]chg[a/bc} rev[p/q]chgt a/b/c
90E32 poly-phase high-performance wide-span energy metering ic function description 15 december 9, 2011 3.4.2 energy registers the 90E32 meters non-decomposed total active, reactive and appar- ent energy, as well as decomposed active fundamental and harmonic energy. the registers are listed as below. 3.4.2.1 total energy registers each phase and all-phase-sum has the following registers: - active forward/ reverse - reactive forward/ reverse - apparent energy altogether there are 20 energy regi sters. those registers are defined in 6.5.1 regular energy registers . 3.4.2.2 fundamental and harmonic energy registers the 90E32 counts decomposed ac tive fundamental and harmonic energy. reactive energy is not decomposed to fundamental and har- monic. the fundamental/harmonic energy is accumulated in the same way as active energy accumulation method described above. registers: - fundamental / harmonic - all-phase-sum / phase a / phase b / phase c - forward / reverse altogether there are 16 energy registers. refer to 3.4.2.2 fundamen- tal and harmonic energy registers . 3.4.3 energy pulse output cf1 is fixed to be total active energy output (all-phase-sum). both forward and reverse energy registers can generate the cf pulse (change of forward/ reverse direction can generate an interrupt if enabled). cf2 is reactive energy output (all -phase-sum) by default. it can also be configured to be arithmetic su m apparent energy output (all-phase- sum). cf3 is fixed to be active fundament al energy output (all-phase-sum). cf4 is fixed to be active harm onic energy output (all-phase-sum). figure-4 cfx pulse output regulation for cfx pulse width regulation, refer to figure-4 . case1 t>=160ms, tp=80ms case 2 10ms<=t<160ms, tp=t/2 case 3 if calculated t < 10ms, force t=10ms, tp=5ms 3.4.4 startup and no-load power there are startup power threshol d registers (e.g. pstartth(35h)). refer to 6.4 configuration and calibration registers . the power thresh- old registers are defined for all- phase-sum active, reactive and apparent power. the 90E32 starts metering when the corresponding all-phase- sum power is greater than the start up threshold. when the power value is lower than the startup threshold, energy is not accumulated and it is assumed as in no-load status. refer to figure-5 . there are also no-load current thre shold registers for active, reac- tive and apparent energy metering participation for each of the 3 phases. if |p|+|q| is lower than the corresponding power threshold, that particular phase will not be accumulated. refer to the pstartth register and other threshold registers. there are also no-load status bits (the tpnoload/tqnoload bits (b14~15, enstatus0 )) defined to reflect the no-load status. the 90E32 does not output any pulse in no-load st atus. the power-on state is of no- load status. cfx t p =80ms t p =0.5t t 160ms 10ms t<160ms t p =5ms if t<10ms, force t=10ms for more details pls refer to an-645.
90E32 poly-phase high-performance wide-span energy metering ic function description 16 december 9, 2011 figure-5 metering startup handling 0 1 phase active power from dsp 0 phase active energy metering power threshold |p|+|q|> pphaseth? 0 1 0 0 1 phase reactive power from dsp 0 phase reactive energy metering power threshold |p|+|q|> qphaseth? 0 1 0 0 1 phase apparent power from dsp 0 phase apparent energy metering power threshold |p|+|q|> sphaseth? 0 1 0 total active energy metering + abs > pstartth? 0 1 0 total active power 3 phases total reactive energy metering + abs > qstartth? 0 1 0 total reactive power 3 phases total (arithmetic sum) apparent energy metering + abs > sstartth? 0 1 0 total apparent power 3 phases a/b/c a/b/c a/b/c
90E32 poly-phase high-performance wide-span energy metering ic function description 17 december 9, 2011 3.5 measurement function measured parameters can be divided to 7 types as follows: - active/ reactive/ apparent power - fundamental/ harmonic power - rms for voltage and current - power factor - phase angle - frequency - temperature measured parameters are average values that are averaged among 16 phase-voltage cycles (about 320ms at 50hz) except for the tempera- ture. the measured parameter updat e frequency is approximately 3hz. refer to table-15 . 3.5.1 active/ reactive/ apparent power active/ reactive/ apparent powe r measurement registers can be divided as below: - active, reactive, apparent power - all-phase-sum / phase a / phase b / phase c altogether there are 12 power registers. refer to 6.6.1 power and power factor registers and the svmeant register (98h). per-phase apparent power is defi ned as the product of measured vrms and irms of that phase. all-phase-sum power is measured by arithmetically summing the per-phase measured power. the su mming of phases can be configured by the mmode0 register. 3.5.2 fundamental / harmonic active power fundamental / harmonic active pow er measurement registers can be divided as below: - fundamental and harmonic power - all-phase-sum / phase a / phase b / phase c altogether there are 8 power registers. refer to 6.6.2 fundamental/ harmonic power and voltage/ current rms registers . 3.5.3 mean power factor (pf) power factor is defined for those cases: all-phase-sum / phase a / phase b / phase c. altogether there are 4 power fa ctor registers. refer to 6.6.1 power and power factor registers . for all-phase: for each of the phase:: 3.5.4 voltage / current rms voltage/current rms register s can be divided as follows: per-phase: phase a / phase b / phase c voltage / current altogether there are 6 rms registers. neutral line current rms: neutral line current can be calculated by instantaneous value . refer to 6.6.2 fundamental/ harmonic power and voltage/ current rms registers . ower apparent_p sum all_phase_ er active_pow sum all_phase_ = pf_all ower apparent_p er active_pow = pf_phase c b a n i i i i + + =
90E32 poly-phase high-performance wide-span energy metering ic function description 18 december 9, 2011 3.5.5 phase angle phase angle measurement regist ers can be divided as below: - phase a / phase b / phase c - voltage / current altogether there are 6 phase angle registers. refer to 6.6.3 thd+n, frequency, angle and temperature registers . note: calculation of phase angle is based on zero-crossing interval and frequency. there might be big error when voltage/current at low value. 3.5.6 frequency frequency is measured using phase a voltage by default. when phase a has voltage sag, phase c is used, and phase b is used when both phase a and c have voltage sag. refer to 6.6.3 thd+n, frequency, a ngle and temperature regis- ters . 3.5.7 temperature chip junction-temperature is meas ured roughly every 100 ms by on- chip temperature sensor. refer to 6.6.3 thd+n, frequency, a ngle and temperature regis- ters . 3.5.8 thd+n for voltage and current voltage thd+n is defined as: current thd+n's definition is similar to that of voltage. registers: - voltage and current - phase a / phase b / phase c altogether there are 6 thd+n registers. refer to 6.6.3 thd+n, fre- quency, angle and temperature registers . the thd+n measurement is mainly used to monitor the percentage of harmonics in the system. accu racy is not guaranteed when thd+n is lower than 10%. ental rms_fundam ental rms_fundam rms_total v v - (v 2 2 )
90E32 poly-phase high-performance wide-span energy metering ic function description 19 december 9, 2011 3.6 power mode the 90E32 has four power modes. t he power mode is solely defined by the pm1 and pm0 pins. 3.6.1 normal mode (n mode) in normal mode, all function blocks are active except for current detector block. refer to figure-6 . figure-6 block diagram in normal mode table-2 power mode mapping pm1:pm0 value power mode 11 normal (n mode) 10 partial measurement (m mode) 01 detection (d mode) 00 idle (i mode) vdd18 regulator temperature sensor current detector adc-v1 adc-v2 adc-v3 adc-i1 adc-i2 adc-i3 spi interface dsp energy metering (forward/reverse active/reactive/cf generator) measure and monitoring (v/i/rms, sag, phase, freq) control logic zero crossing cf out power on reset crystal oscillator reference voltage osci osco power mode configuration disabled irq warn out
90E32 poly-phase high-performance wide-span energy metering ic function description 20 december 9, 2011 3.6.2 idle mode (i mode) in idle mode, all functions are shut off. the analog blocks' power supply is powered but circuits are set into power-down mode, i.e, power supply applied but all current paths are shut off. there is very low current since only very low device leakage could exist in this mode. the digital i/os' supply is powered. in i/o and analog interface, the input signals from digital core (which is not powered) will be set to known state as described in table-3 . the pm1 and pm0 pins which are controll ed by external mcu are active and can configure the 90E32 to other modes. figure-7 block diagram in idle mode please note that since the digital i/o is not shut off, the i/o circuit is active in the idle mode. the application shall make sure that valid logic levels are applied to the i/o. table-3 lists digital i/o and power pins? states in idle mode. it lists the requirements for inputs and the output level for output. vdd18 regulator temperature sensor current detector adc-v1 adc-v2 adc-v3 adc-i1 adc-i2 adc-i3 spi interface dsp energy metering (forward/reverse active/reactive/ cf generator) measure and monitoring (v/i/rms, sag, phase, freq) control logic zero crossing cf out power on reset crystal oscillator reference voltage osci osco power mode configuration irq warn out table-3 digital i/o and power pin states in idle mode name i/o type type pin state in idle mode reset i lvttl input level shall be vdd33. cs ilvttl i/o set in input mode. input level shall be vdd33 or vss. sclk i lvttl i/o set in input mode. input level shall be vdd33 or vss. sdo o lvttl i/o set in input mode. input level shall be vdd33 or vss. sdi i lvttl i/o set in input mode. input level shall be vdd33 or vss. pm1 pm0 ilvttl as defined in table-2 osci osco i o osc oscillator powered down. osco stays at fixed (low) level.
90E32 poly-phase high-performance wide-span energy metering ic function description 21 december 9, 2011 zx0 zx1 zx2 olvttl0 cf1 cf2 cf3 cf4 olvttl0 warnout o lvttl 0 irq0 irq1 olvttl0 vdd18 i power regulated 1.8v: high impedance dvdd i power digital power supply: powered by system avdd i power analog power supply: powered by system test i input always tie to ground in system application table-3 digital i/o and power pin states in idle mode name i/o type type pin state in idle mode
90E32 poly-phase high-performance wide-span energy metering ic function description 22 december 9, 2011 3.6.3 detection mode (d mode) in detection mode, the current detec tor is active. the current detec- tor compares whether any phase curr ent exceeds the configured thresh- old using low-power comparators. when the current of one phase or multiple phases exceeds the con- figured threshold, the 90E32 asserts the irq0 pin to high and hold it until power mode change. the irq0 state is cleared when entering or exiting detection mode. when the current of all three current channels exceed the configured threshold, the 90E32 asserts the irq1 pin to high and hold it until power mode change. the irq1 state is cleared when entering or exiting detec- tion mode. the threshold registers need to be programmed in normal mode before entering detection mode. the digital i/o state is the same as that in idle state (except for irq0/ irq1 and pm1/pm0). the 90E32 has two comparators for detecting each phase?s positive and negative current. each comparator?s threshold can be set individu- ally. the two comparators are both active by default, which called ?dou- ble-side detection?. user also c an enable one comparator only to save power consumption, which ca lled ?single-side detection?. double-side detection has faster re sponse and can detect ?half-wave? current. but it consumes nearly tw ice as much power as single-side detection. comparators can be power- down by configuring the detectctrl regis- ter. figure-8 block diagra m in detection mode vdd18 regulator temperature sensor current detector adc-v1 adc-v2 adc-v3 adc-i1 adc-i2 adc-i3 spi interface dsp energy metering (forward/reverse active/reactive/cf generator) measure and monitoring (v/i/rms, sag, phase, freq) control logic zero crossing cf out power on reset crystal oscillator reference voltage osci osco power mode configuration irq warn out
90E32 poly-phase high-performance wide-span energy metering ic function description 23 december 9, 2011 3.6.4 partial measurement mode (m mode) in this mode, voltage adcs and di gital circuits are inactive. the 90E32 measures the current rms of one line cycle. when the measurement is done, the 90E32 asserts the irq0 pin high until the partial measurement mode exits. in this mode, the user needs to pr ogram the related registers (includ- ing pga gain, channel gain, offset, etc.) to make the current rms mea- surement accurate. refer to 5.2 partial measurement mode calibration . please note that not all registers in this mode is accessible. only the partial measurement related registers (14h~1dh) and some special registers (00h, 01h, 03h, 07h,0 eh, 0fh) can be accessed. figure-9 block diagram in partial measurement mode vdd18 regulator temperature sensor current detector adc-v1 adc-v2 adc-v3 adc-i1 adc-i2 adc-i3 adc-in spi interface dsp energy metering (forward/reverse active/reactive/cf generator) measure and monitoring (v/i/rms, sag, phase, freq) control logic zero crossing cf out power on reset crystal oscillator reference voltage osci osco power mode configuration disabled irq warn out
90E32 poly-phase high-performance wide-span energy metering ic function description 24 december 9, 2011 3.6.5 transition of power modes the above power modes are controlled by the pm0 and pm1 pins. in application, the pm0 and pm1 pins ar e connected to external mcu. the pm0 and pm1 pins have internal rc- filters. generally, the 90E32 stays in idle mode most of the time while out- age. it enters detection mode at a cert ain interval (for example 5s) as controlled by the mcu. it informs the mcu if the current exceeds the configured threshold. the mcu then commands the 90E32 to enter par- tial measurement mode at a certain in terval (e.g. 60s) to read related current. after current reading, the 90E32 gets back to the idle mode. the measured current may be used to count energy according to some metering model (like current rms multiplying the rated voltage to compute the power). any power mode transition goes thr ough the idle mode, as shown in figure-10 . figure-10 power mode transition normal mode idle mode detection mode partial measurement mode
90E32 poly-phase high-performance wide-span energy metering ic function description 25 december 9, 2011 3.7 event detection 3.7.1 zero-crossing detection zero-crossing detector detects the zero-crossing point of the funda- mental component of voltage and current for each of the 3 phases. zero-crossing signal can be in dependently configured and output. refer to the definition of the zxconfig register. 3.7.2 sag detection usually in the application the sag threshold is set to be 78% of the reference voltage. the 90E32 generates sag event when there are less than three 8khz samples (absolute value) greater than the sag thresh- old during two continuous 11ms time-window. for the computation of sag threshol d register value, refer to an-644. the sag event is captured by the sagwarn bit (b3, sysstatus0 ). if the corresponding irq enable bit the sagwnen bit (b3, funcen0 ) is set, irq can be generated. refer to figure-21 . 3.7.3 phase loss detection the phase loss detection detects if there is one or more phases? volt- age is less than the phase-loss threshold voltage. the processing and handling is simila r to sag detection, only the threshold is different. the threshold co mputation flow is also similar. the typical threshold setting could be 10% un or less. if any phase line is detected as in phase-loss mode, that phase?s zero-crossing detection function ( both voltage and current) is disabled. 3.7.4 computed neutral line overcurrent detec- tion the neutral line computed current (c alculated) rms is checked with the threshold defined in the inwarnth0 register. if the n line current is greater than the threshold, the inov0 bit (b14, sysstatus1 ) bit is set. irq1 is generated if the correspondi ng enable bit the inov0en bit (b14, funcen1 ) is set. 3.7.5 phase sequence error detection the phase sequence is detected in two cases: 3p4w and 3p3w, which is defined by the 3p3w bit (b8, mmode0 ). 3p4w case: correct sequence: voltage/current zero-crossing sequence: phase- a, phase-b and phase-c. 3p3w case: correct sequence: voltage/current zero-crossing between phase-a and phase-c is greater than 180 degree. if the above mentioned criteria are vi olated, it is assumed as a phase sequence error. 3.8 dc and current rms estimation the 90E32 has a module named ?pms? which can estimate current channel rms or current channel arithmetic average (dc component). the measurement type is defined in the pmconfig register. it can be used to estimate current rms in partial measurement mode. since the pms block only consume very small pow er, it can be also used to esti- mate current rms in normal mode. the pms module is turned on in both partial measurement mode and normal mode. the result is in different format and different scale for the rms and average respectively. the rms result is unsigned; while current average is signed. refer to 6.3.2 partial measurement mode registers for associated register definition.
90E32 poly-phase high-performance wide-span energy metering ic spi interface 26 december 9, 2011 4 spi interface 4.1 interface description four pins are associated with the interface as below: ? sdi ? data pin, input. ? sdo ? data pin, output. ? sclk ? clock input pin. ? cs ? chip select pin input. figure-11 slave mode spi interface logic (as slave) miso mosi sck cs host controller in master mode sck gpio1 mosi miso sclk cs sdi sdo
90E32 poly-phase high-performance wide-span energy metering ic spi interface 27 december 9, 2011 4.2 spi interface the interface works in slave mode as shown in figure-11 . 4.2.1 spi slave interface format in the spi mode, data on sdi is shifted into the chip on the rising edge of sclk while data on sdo is shifted out of the chip on the falling edge of sclk. refer to figure-12 and figure-13 below for the timing diagram. access type: the first bit on sdi defines the access type as below: address: fixed 15-bit, following the access type bits. the lower 10-bit is decoded as address; the higher 5 bits are ?don't care?. read/write data: fixed as 16 bits. read sequence: figure-12 read sequence write sequence: figure-13 write sequence 4.2.2 reliability enhancement feature the spi read/write transaction is cs -low defined. each transaction can only access one register. within each cs -low defined transaction: write: access occurs only when cs goes from low to high and there are exactly 32 sclk cycles received during cs low period. read: if sclk>=16 (full address received), data is read out from internal registers and gets to the sdo pin; and the lastspidata register is updated. the r/c registers can only be cleared after the lastspidata register is updated. instruction description instruction format read read from registers 1 write write to registers 0 cs sclk sdi sdo 10 1 2 3 4 5 6 7 8 9 111213141516171819202122 24 a3 a6 a5 a4 register address high impedance d15 don't care d0 16-bit data 23 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 25 26 a2 a1 a0 27 28 29 30 31 32 a8 x x x x x a7 a9 cs sclk sdi sdo 10 123456789 11121314151617181920212223 a3 a7 a6 a5 a4 16-bit data high impedance d0 d7 d6 d5 d4 d3 d2 d1 register address d15 24 d14 d13 d12 d11 d10 d9 d8 a0 a1 a2 25 26 27 28 29 30 31 32 a8 x x x x x a9
90E32 poly-phase high-performance wide-span energy metering ic calibration method 28 december 9, 2011 5 calibration method 5.1 normal mode oper ation calibration calibration is done per phase and there is no need to calibrate for the all-phase-sum (total) parameters. the calibration method is as follows: step-1: register configuration for calibration - start to configure the system c onfiguration registers by writing 5678h to the configstart register. - the 90E32 automatically reset the c onfiguration registers to their default value. - program all the system configuration registers. - calculate and write the checksum to the cs0 register. - write 8765h to the configstart register (enable checksum check- ing). - system may check the warnout pin to see if there is a checksum error. the start register and checksum handling scheme is the same throughout the calibration process, so the following section does not describe the start and checksum operation. step-2: measurement calibration (per-phase) - first calibrate offset at i = 0, u = 0 for current or/and voltage; ? configure calculated channel gain (the user needs to program the pga gain and dpga gain properly in order to get the calcu- lated gain within 0 to 2 in step-1). ? read irms/ urms value. ? calculate the compensation value. ? write the calculated value to the offset register. - then calibrate gain at i = in (ib), u = un for current and voltage; ? read irms/ urms value. ? calculate the compensation value. ? write the calculated value to the gain register. step-3: metering calibration (per phase) - first calibrate the power/ energy offset. ? u = un, i = 0. ? read full 32 bits (or lower 16 bits) active and reactive power ? calculate the compensation values ? write the calculated values to the offset registers respectively. - then calibrate energy gain at unity power factor: ? pf=1.0, u = un, i = in (ib). ? connect cf1 to the calibration bench; ? user/ pc calculate the energy gain according to the data got from calibration bench ? write the calculated value to the energy gain register. - then calibrate the phase angle co mpensation at 0.5 inductive power factor. ? pf=0.5l, u = un, i = in (ib), rated frequency = 50hz, or 60hz according to the application; ? cf1 connected to the calibration bench; ? user/ pc calculate the phase angle according to the data got from calibration bench; ? write the calculated value to the phase angle register. 5.2 partial measurement mode calibra- tion the calibration method is as follows: step-1: set the input current to zero and measure the current mean value (set measuretype = 1, write 1 to the remeasure bit (b14, pmcon- fig ) to trigger the measurement. refer to the pmirmsa register). negate the result register (the pmirmsa / pmirmsb / pmirmsc registers) reading (16-bit) and then write the result to the offset register. step-2: the output of partial measurement result = adc_input_voltage *pga_gain*dpga_gain*65536 / 1.2. for instance, a 150 mvrms signal (from ct) with pga = 1 gets 8192 in the rms result register. step-3: the user needs to do its own conversion to get meaningful result. the scaling factor in user 's software could be calibrated device per device.
90E32 poly-phase high-performance wide-span energy metering ic register 29 december 9, 2011 6 register 6.1 register list table-4 register list register address register name read/write type functional description comment page status and special register 00h softreset w software reset p36 01h sysstatus0 r/c system status 0 p38 02h sysstatus1 r/c system status 1 p38 03h funcen0 r/w function enable 0 p40 04h funcen1 r/w function enable 1 p40 07h zxconfig r/w zero-crossing configuration configuration of zx0/1/2 pins? source p41 08h sagth r/w voltage sag threshold p42 09h phaselossth r/w voltage phase losing threshold similar to voltage sag threshold register p42 0ah inwarnth0 r/w threshold for calculated (ia + ib +ic) n line rms current check sysstatus0/1 register. p42 0ch thdnuth r/w voltage thd warning threshold check sysstatus0/1 register. p42 0dh thdnith r/w current thd warning threshold check sysstatus0/1 register. p42 0fh lastspidata r last read/ write spi value refer to 4.2.2 reliability enhancement fea- ture p43 low power mode register 10h detectctrl r/w current detect control p44 11h detecttha r/w phase a current threshold in detection mode p45 12h detectthb r/w phase b current threshold in detection mode p45 13h detectthc r/w phase c current threshold in detection mode p46 14h pmoffseta r/w ioffset for phase a in partial measurement mode p46 15h pmoffsetb r/w ioffset for phase b in partial measurement mode p46 16h pmoffsetc r/w ioffset for phase c in partial measurement mode p46 17h pmpga r/w pgagain configuration in partial measurement mode p47 18h pmirmsa r irms for phase a in partial measurement mode p47 19h pmirmsb r irms for phase b in partial measurement mode p47 1ah pmirmsc r irms for phase c in partial measurement mode p47 1bh pmconfig r/w measure configuration in partial measurement mode p48 1ch pmavgsamples r/w number of 8k samples to be averaged in rms/ mean computation p48 1dh pmirmslsb r lsb bits of pmrrms[a/b/c] it returns msb of the mean measurement data in mean value test p48 configuration registers 30h configstart r/w calibration start command p50 31h plconsth r/w high word of pl_constant p50 32h plconstl r/w low word of pl_constant p50
90E32 poly-phase high-performance wide-span energy metering ic register 30 december 9, 2011 33h mmode0 r/w metering method configuration p51 34h mmode1 r/w pga gain configuration p52 35h pstartth r/w active startup power threshold. refer to table-5 . 36h qstartth r/w reactive startup power threshold. 37h sstartth r/w apparent startup power threshold. 38h pphaseth r/w startup power threshold (active energy accu- mulation) 39h qphaseth r/w startup power threshold (reactive energy accumulation) 3ah sphaseth r/w startup power threshold (apparent energy accumulation) 3bh cs0 r/w checksum 0 p53 calibration registers 40h calstart r/w calibration start command refer to table-6 . 41h poffseta r/w phase a active power offset p54 42h qoffseta r/w phase a reactive power offset p54 43h poffsetb r/w phase b active power offset 44h qoffsetb r/w phase b reactive power offset 45h poffsetc r/w phase c active power offset 46h qoffsetc r/w phase c reactive power offset 47h gaina r/w phase a calibration gain p54 48h phia r/w phase a calibration phase angle p54 49h gainb r/w phase b calibration gain 4ah phib r/w phase b calibration phase angle 4bh gainc r/w phase c calibration gain 4ch phic r/w phase c calibration phase angle 4dh cs1 r/w checksum 1 fundamental/ harmonic energy calibration registers 50h harmstart r/w harmonic calibration startup command refer to table-7 . 51h poffsetaf r/w phase a fundamental active power offset 52h poffsetbf r/w phase b fundamental active power offset 53h poffsetcf r/w phase c fundamental active power offset 54h pgainaf r/w phase a fundamental active power gain 55h pgainbf r/w phase b fundamental active power gain 56h pgaincf r/w phase c fundamental active power gain 57h cs2 r/w checksum 2 table-4 register list (continued) register address register name read/write type functional description comment page
90E32 poly-phase high-performance wide-span energy metering ic register 31 december 9, 2011 measurement calibration 60h adjstart r/w measurement calibration startup command refer to table-8 . 61h ugaina r/w phase a voltage rms gain 62h igaina r/w phase a current rms gain 63h uoffseta r/w phase a voltage rms offset 64h ioffseta r/w phase a current rms offset 65h ugainb r/w phase b voltage rms gain 66h igainb r/w phase b current rms gain 67h uoffsetb r/w phase b voltage rms offset 68h ioffsetb r/w phase b current rms offset 69h ugainc r/w phase c voltage rms gain 6ah igainc r/w phase c current rms gain 6bh uoffsetc r/w phase c voltage rms offset 6ch ioffsetc r/w phase c current rms offset 6fh cs3 r/w checksum 3 energy register 80h apenergyt r/c total forward active energy refer to table-9 . 81h apenergya r/c phase a forward active energy 82h apenergyb r/c phase b forward active energy 83h apenergyc r/c phase c forward active energy 84h anenergyt r/c total reverse active energy 85h anenergya r/c phase a reverse active energy 86h anenergyb r/c phase b reverse active energy 87h anenergyc r/c phase c reverse active energy 88h rpenergyt r/c total forward reactive energy 89h rpenergya r/c phase a forward reactive energy 8ah rpenergyb r/c phase b forward reactive energy 8bh rpenergyc r/c phase c forward reactive energy 8ch rnenergyt r/c total reverse reactive energy 8dh rnenergya r/c phase a reverse reactive energy 8eh rnenergyb r/c phase b reverse reactive energy 8fh rnenergyc r/c phase c reverse reactive energy 90h saenergyt r/c total (arithmetic sum) apparent energy 91h senergya r/c phase a apparent energy 92h senergyb r/c phase b apparent energy 93h senergyc r/c phase c apparent energy 95h enstatus0 r metering status 0 p56 96h enstatus1 r metering status 1 p57 table-4 register list (continued) register address register name read/write type functional description comment page
90E32 poly-phase high-performance wide-span energy metering ic register 32 december 9, 2011 fundamental / harmonic energy register a0h apenergytf r/c total forward active fundamental energy refer to table-10 . p57 a1h apenergyaf r/c phase a forward active fundamental energy a2h apenergybf r/c phase b forward active fundamental energy a3h apenergycf r/c phase c forward active fundamental energy a4h anenergytf r/c total reverse active fundamental energy a5h anenergyaf r/c phase a reverse active fundamental energy a6h anenergybf r/c phase b reverse active fundamental energy a7h anenergycf r/c phase c reverse active fundamental energy a8h apenergyth r/c total forward active harmonic energy a9h apenergyah r/c phase a forward active harmonic energy aah apenergybh r/c phase b forward active harmonic energy abh apenergych r/c phase c forward active harmonic energy ach anenergyth r/c total reverse active harmonic energy adh anenergyah r/c phase a reve rse active harmonic energy aeh anenergybh r/c phase b reve rse active harmonic energy afh anenergych r/c phase c reverse active harmonic energy table-4 register list (continued) register address register name read/write type functional description comment page
90E32 poly-phase high-performance wide-span energy metering ic register 33 december 9, 2011 power and power factor registers b0h pmeant r total (all-pha se-sum) active power refer to table-11 . p57 b1h pmeana r phase a active power b2h pmeanb r phase b active power b3h pmeanc r phase c active power b4h qmeant r total (all-phase-sum) reactive power b5h qmeana r phase a reactive power b6h qmeanb r phase b reactive power b7h qmeanc r phase c reactive power b8h sameant r total (arithmetic sum) apparent power b9h smeana r phase a apparent power bah smeanb r phase b apparent power bbh smeanc r phase c apparent power bch pfmeant r total power factor bdh pfmeana r phase a power factor beh pfmeanb r phase b power factor bfh pfmeanc r phase c power factor c0h pmeantlsb r lower word of total (all-phase-sum) active power c1h pmeanalsb r lower word of phase a active power c2h pmeanblsb r lower word of phase b active power c3h pmeanclsb r lower word of phase c active power c4h qmeantlsb r lower word of total (a ll-phase-sum) reactive power c5h qmeanalsb r lower word of phase a reactive power c6h qmeanblsb r lower word of phase b reactive power c7h qmeanclsb r lower word of phase c reactive power c8h sameantlsb r lower word of total (arithmetic sum) apparent power c9h smeanalsb r lower word of phase a apparent power cah smeanblsb r lower word of phase b apparent power cbh smeanclsb r lower word of phase c apparent power table-4 register list (continued) register address register name read/write type functional description comment page
90E32 poly-phase high-performance wide-span energy metering ic register 34 december 9, 2011 fundamental / harmonic power and voltage / current rms registers d0h pmeantf r total active fundamental power refer to table-12 . p58 d1h pmeanaf r phase a active fundamental power d2h pmeanbf r phase b active fundamental power d3h pmeancf r phase c active fundamental power d4h pmeanth r total active harmonic power d5h pmeanah r phase a active harmonic power d6h pmeanbh r phase b active harmonic power d7h pmeanch r phase c active harmonic power d9h urmsa r phase a voltage rms dah urmsb r phase b voltage rms dbh urmsc r phase c voltage rms dch irmsn0 r n line calculated current rms ddh irmsa r phase a current rms deh irmsb r phase b current rms dfh irmsc r phase c current rms e0h pmeantflsb r lower word of total active fundamental power e1h pmeanaflsb r lower word of phase a active fundamental power e2h pmeanbflsb r lower word of phase b active fundamental power e3h pmeancflsb r lower word of phase c active fundamental power e9h urmsalsb r lower word of phase a voltage rms eah urmsblsb r lower word of phase b voltage rms ebh urmsclsb r lower word of phase c voltage rms edh irmsalsb r lower word of phase a current rms eeh irmsblsb r lower word of phase b current rms efh irmsclsb r lower word of phase c current rms table-4 register list (continued) register address register name read/write type functional description comment page
90E32 poly-phase high-performance wide-span energy metering ic register 35 december 9, 2011 thd+n, frequency, angle and temperature registers f1h thdnua r phase a voltage thd+n refer to table-13 . p59 f2h thdnub r phase b voltage thd+n f3h thdnuc r phase c voltage thd+n f5h thdnia r phase a current thd+n f6h thdnib r phase b current thd+n f7h thdnic r phase c current thd+n f8h freq r frequency f9h panglea r phase a mean phase angle fah pangleb r phase b mean phase angle fbh panglec r phase c mean phase angle fch temp r measured temperature fdh uanglea r phase a voltage phase angle feh uangleb r phase b voltage phase angle ffh uanglec r phase c voltage phase angle table-4 register list (continued) register address register name read/write type functional description comment page
90E32 poly-phase high-performance wide-span energy metering ic register 36 december 9, 2011 6.2 special registers 6.2.1 soft reset register softreset software reset address: 00h type: write default value: 0000h bit name description 15 - 0 softreset[15:0] software reset register. the 90E32 resets only if 789ah is written to this register. the reset domain is the same as the reset pin or power on reset. reading this register always return 0.
90E32 poly-phase high-performance wide-span energy metering ic register 37 december 9, 2011 6.2.2 irq and warnout signal generation status bits in the sysstatus0 register generate an interrupt and get the irq0 pin to be asserted if the corresponding enable bits are set in the funcen0 register. status bits in the sysstatus1 register generate an interrupt and get the irq1 pin to be asserted, if the corresponding enable bits are set in the funcen1 register. some of the status signals can also assert the warnout pin. the following diagram illustrates how the status bits, enable bits and irq/ warnout pins work together. figure-14 irq and warnout generation status 1 status 2 status n enable 2 enable n register bits in sysstatus0/1 register bits in funcen0/1 irq0/1 warnout event capture event capture en status without enable status with enable read clear read clear read clear read clear read clear read clear
90E32 poly-phase high-performance wide-span energy metering ic register 38 december 9, 2011 sysstatus0 system status 0 address: 01h type: read/clear default value: 0000h bit name description 15 - reserved. * 14 cs0err this bit indicates cs0 (3bh) checksum status. 0: cs0 checksum correct (default) 1: cs0 checksum error. the warnout pin is asserted at the same time. 13 - reserved. 12 cs1err this bit indicates cs1 (4dh) checksum status. 0: cs1 checksum correct (default) 1: cs1 checksum error. the warnout pin is asserted at the same time. 11 - reserved. 10 cs2err this bit indicates cs2 (57h) checksum status. 0: cs2 checksum correct (default) 1: cs2 checksum error. the warnout pin is asserted at the same time. 9- reserved. 8 cs3err this bit indicates cs3 (6fh) checksum status. 0: cs3 checksum correct (default) 1: cs3 checksum error. the warnout pin is asserted at the same time. 7urevwn this bit indicates whether there is any error with the voltage phase sequence. 0: no error with the voltage phase sequence (default) 1: error with the voltage phase sequence. 6irevwn this bit indicates whether there is any error with the current phase sequence. 0: no error with the current phase sequence (default) 1: error with the current phase sequence. 5 - 4 - reserved. 3 sagwarn this bit indicates whether there is any voltage sag (voltage lower than threshold) in one phase or more. 0: no voltage sag (default) 1: voltage sag. 2 phaselosewn this bit indicates whether there is any voltage phase losing in one phase or more. 0: no voltage phase losing (default) 1: voltage phase losing. 1-0 - reserved. note: all reserved bits of any register should be ignored when reading and should be written with zero.
90E32 poly-phase high-performance wide-span energy metering ic register 39 december 9, 2011 sysstatus1 system status 1 address: 02h type: read/clear default value: 0000h bit name description 15 - reserved. 14 inov0 this bit indicates whether the calculated n line current is greater than the threshold set by the inwarnth0 register. 0: not greater than the threshold (default) 1: greater than the threshold. 13-12 - reserved. 11 thduov this bit indicates whether one or more voltage thdux (thdua/ thdub/ thduc) is greater than the threshold set by the thd- nuth register. 0: not greater than the threshold (default) 1: greater than the threshold. 10 thdiov this bit indicates whether one or more current thdix (thdia/ thdib/ thdic) is greater than the threshold set by the thdnith register. 0: not greater than the threshold (default) 1: greater than the threshold. 9-8 - reserved. 7revqchgt when there is any direction change of active/reactive energy for all-phase-sum or individual phase (from forward to reverse, or from reverse to forward), the corresponding status bit is set. the judgment of direction change is solely based on the energy r eg- ister (not related to the cf pulses), and dependent on the energy register resolution (0.01cf / 0.1cf setting set by the 001lsb bit (b9, mmode0 )). 0: direction of active/reactive energy no change (default) 1: direction of active/reactive energy changed the status bits are revqchgt/ revpchgt are status bits fo r all-phase-sum and revqchga/ revqchgb/ revqchgc/ revpchga/ revpchgb/ revpchgc are for individual phase. 6revqchga 5revqchgb 4 revqchgc 3 revpchgt 2 revpchga 1 revpchgb 0 revpchgc
90E32 poly-phase high-performance wide-span energy metering ic register 40 december 9, 2011 funcen0 function enable 0 funcen1 function enable 1 address: 03h type: read/write default value: 0000h bit name description 15-11 - reserved. 10 cs2erren this bit determines whether to enable the interrupt when the cs2err bit (b10, sysstatus0 ) is set. 0: disable (default) 1: enable 9-8 - reserved. 7urevwnen this bit determines whether to enable the interrupt when the urevwn bit (b7, sysstatus0 ) is set. 0: disable (default) 1: enable 6irevwnen this bit determines whether to enable the interrupt when the irevwn bit (b6, sysstatus0 ) is set. 0: disable (default) 1: enable 5-4 - reserved. 3sagwnen this bit determines whether to enable the voltage sag interrupt when the sagwarn bit (b3, sysstatus0 ) is set. 0: disable (default) 1: enable 2 phaselosewnen this bit determines whether to enable the interrupt when the phaselosewn bit (b2, sysstatus0 ) is set. 0: disable (default) 1: enable 1-0 - reserved. address: 04h type: read/write default value: 0000h bit name description 15 inov1en this bit determines whether to enable the interrupt when the inov1 bit (b15, sysstatus1 ) is set. 0: disable (default) 1: enable 14 inov0en this bit determines whether to enable the interrupt when the inov0 bit (b14, sysstatus1 ) is set. 0: disable (default) 1: enable
90E32 poly-phase high-performance wide-span energy metering ic register 41 december 9, 2011 6.2.3 special configuration registers zxconfig zero-crossing configuration 13-12 - reserved. 11 thduoven this bit determines whether to enable the interrupt when the thduov bit (b11, sysstatus1 ) is set. 0: disable (default) 1: enable 10 thdioven this bit determines whether to enable the interrupt when the thdiov bit (b10, sysstatus1 ) is set. 0: disable (default) 1: enable 9-8 - reserved. 7revqchgten these bits determine whether to enable the corresponding interrupt when any of the direction change bits (b7~b0, sysstatus1 ) is set. 0: disable (default) 1: enable 6 revqchgaen 5 revqchgben 4revqchgcen 3 revpchgten 2 revpchgaen 1 revpchgben 0 revpchgcen address: 07h type: read/write default value: 0001h bit name description 15:13 zx2src[2:0] these bits select the signal source for the zx2, zx1 or zx0 pins. 12:10 zx1src[2:0] 9:7 zx0src[2:0] 6:5 zx2con[1:0] these bits configure zero-crossing mode for the zx2, zx1 and zx0 pins. 4:3 zx1con[1:0] 2:1 zx0con[1:0] 0zxdis this bit determines whether to disable the zx signals: 0: enable 1: disable all the zx signals to ?0? (default). code source 011 fixed-0 000 ua 001 ub 010 uc 111 fixed-0 100 ia 101 ib 110 ic code zero-crossing configuration 00 positive zero-crossing 01 negative zero-crossing 10 all zero-crossing 11 no zero-crossing output
90E32 poly-phase high-performance wide-span energy metering ic register 42 december 9, 2011 sagth voltage sag threshold phaselossth voltage phase losing threshold inwarnth0 neutral current (calcula ted) warning threshold thdnuth voltage thd warning threshold thdnith current thd warning threshold address: 08h type: read/write default value: 0000h bit name description 15:0 sagth unsigned 16-bit integer with unit related to pga and voltage sense circuits. refer to 3.7.2 sag detection. address: 09h type: read/write default value: 0000h bit name description 15:0 phaselossth unsigned 16-bit integer with unit related to pga and voltage sense circuits. refer to 3.7.3 phase loss detection. address: 0ah type: read/write default value: ffffh bit name description 15:0 inwarnth0 neutral current (calculated) warning threshold. threshold for calculated (ia + ib +ic) n line rms current. unsigned 16 bit, unit 1ma. if n line rms current is greater than the threshold, the inov0 bit (b14, sysstatus1) will be asserted if enabled. refer to 3.7.4 computed neutral line overcurrent detection . address: 0ch type: read/write default value: ffffh bit name description 15:0 thdnuth voltage thd warning threshold. voltage thd+n threshold. unsigned 16 bit, unit 0.01%. exceeding the threshold will assert the thduov bit (b11, sysstatus1) if enabled. address: 0dh type: read/write default value: ffffh bit name description 15:0 thdnith current thd warning threshold. current thd+n threshold. unsigned 16-bit, unit 0.01%. exceeding the threshold will assert the thdiov bit (b10, sysstatus1) if enabled.
90E32 poly-phase high-performance wide-span energy metering ic register 43 december 9, 2011 6.2.4 last spi data register lastspidata last read/write spi value address: 0fh type: read default value: 0000h bit name description 15:0 lastspidata15 - lastspidata0 this register is a special register which logs data of the previous spi read or write access especially for read/clear register s. this register is useful when the user wants to check the integrity of the last spi access.
90E32 poly-phase high-performance wide-span energy metering ic register 44 december 9, 2011 6.3 low-power modes registers 6.3.1 detection mode registers current detection register latching scheme is: when any of the 4 current detection register s (0x10 - 0x13) were programmed, all the 4 current detection registers (including t he registers that not being programmed) will be automatically latc hed into the current detector's internal c onfiguration latches at the same time. th ose latched configura- tion values are not subject to digital rese t signals and will be kept in all the 4 power modes. the power up value of those lat ches is not deterministic, so user needs to program the cu rrent detection registers to update. figure-15 current detection register latching scheme detectctrl current detect control address: 10h type: read/write default value: 0000h bit name description 15:6 - reserved. 5:0 detectctrl detector power-down, active high: [5:3]: power-down for negative detector of channel 3/2/1; [2:0]: power-down for positive detector of channel 3/2/1. 0x10 0x11 0x12 0x13 latch latch latch latch current detector register write update registers current detector block
90E32 poly-phase high-performance wide-span energy metering ic register 45 december 9, 2011 detecttha phase a current threshold in detection mode detectthb phase b current threshold in detection mode address: 11h type: read/write default value: 0000h bit name description 15 - reserved. 14:8 calcoden channel i1 negative detector calculation code. code mapping: 7'b000-0000, vc=-4.28mv=-3.03mvrms (vc is the threshold of low power computation) 7'b111-1111, vc=12.91mv=9.14mvrms dac typical resolution is [12.91-(-4.28)]/127=135.4 v=95.7 vrms 7-reserved. 6:0 calcodep channel i1 positive detector calculation code. code mapping: 7'b000-0000, vc=-4.28mv=-3.03mvrms (vc is the threshold of low power computation) 7'b111-1111, vc=12.91mv=9.14mvrms dac typical resolution is [12.91-(-4.28)]/127=135.4 v=95.7 vrms address: 12h type: read/write default value: 0000h bit name description 15 - reserved. 14:8 calcoden channel i2 negative detector calculation code. code mapping: 7'b000-0000, vc=-4.28mv=-3.03mvrms (vc is the threshold of low power computation) 7'b111-1111, vc=12.91mv=9.14mvrms dac typical resolution is [12.91-(-4.28)]/127=135.4 v=95.7 vrms 7-reserved. 6:0 calcodep channel i2 positive detector calculation code. code mapping: 7'b000-0000, vc=-4.28mv=-3.03mvrms (vc is the threshold of low power computation) 7'b111-1111, vc=12.91mv=9.14mvrms dac typical resolution is [12.91-(-4.28)]/127=135.4 v=95.7 vrms
90E32 poly-phase high-performance wide-span energy metering ic register 46 december 9, 2011 detectthc phase c current threshold in detection mode the calibration method is that, the user program the detection threshold and test with the standard input signal until the out put trips. 6.3.2 partial measurement mode registers pmoffseta ioffset for phase a in partial measurement mode pmoffsetb ioffset for phase b in partial measurement mode pmoffsetc ioffset for phase c in partial measurement mode address: 13h type: read/write default value: 0000h bit name description 15 - reserved. 14:8 calcoden channel i3 negative detector calculation code. code mapping: 7'b000-0000, vc=-4.28mv=-3.03mvrms (vc is the threshold of low power computation) 7'b111-1111, vc=12.91mv=9.14mvrms dac typical resolution is [12.91-(-4.28)]/127=135.4 v=95.7 vrms 7-reserved. 6:0 calcodep channel i3 positive detector calculation code. code mapping: 7'b000-0000, vc=-4.28mv=-3.03mvrms (vc is the threshold of low power computation) 7'b111-1111, vc=12.91mv=9.14mvrms dac typical resolution is [12.91-(-4.28)]/127=135.4 v=95.7 vrms address: 14h type: read/write default value: 0000h bit name description 15-14 - reserved. 13:0 pmoffseta phase a current offset in partial measurement mode. address: 15h type: read/write default value: 0000h bit name description 15-14 - reserved. 13:0 pmoffsetb phase b current offset in partial measurement mode. address: 16h type: read/write default value: 0000h bit name description 15-14 - reserved. 13:0 pmoffsetc phase c current offset in partial measurement mode.
90E32 poly-phase high-performance wide-span energy metering ic register 47 december 9, 2011 pmpga pgagain configuration in partial measurement mode pmirmsa irms for phase a in partial measurement mode pmirmsb irms for phase b in partial measurement mode pmirmsc irms for phase c in partial measurement mode address: 17h type: read/write default value: 0000h bit name description 15-14 dpga dpga in partial measurement mode. 13:0 pgagain pgagain in partial measurement mode refer to the mmode1 register for encoding and mapping. address: 18h type: read default value: 0000h bit name description 15:0 pmirmsa * current rms/mean result in partial measurement mode. format: it is unsigned for rms while signed for mean value. note: for current measuring in partial measurement mode, current gain is suggested to realized by external mcu and current rms value shall not exceed 40a. address: 19h type: read default value: 0000h bit name description 15:0 pmirmsb * current rms/mean result in partial measurement mode. format: it is unsigned for rms while signed for mean value. note: for current measuring in partial measurement mode, current gain is suggested to realized by external mcu and current rms value shall not exceed 40a. address: 1ah type: read default value: 0000h bit name description 15:0 pmirmsc * current rms/mean result in partial measurement mode. format: it is unsigned for rms while signed for mean value. note: for current measuring in partial measurement mode, current gain is suggested to realized by external mcu and current rms value shall not exceed 40a.
90E32 poly-phase high-performance wide-span energy metering ic register 48 december 9, 2011 pmconfig measure configuration in partial measurement mode pmavgsamples number of 8k samples to be averaged pmirmslsb lsb bits of pmrrms[a/b/c] address: 1bh type: read/write default value: 0000h bit name description 15 - reserved. 14 remeasure this bit is ?1?-write-only. write ?1? to this bit will trigger another measurement cycle. 13 measurestartzx this bit configures start of measurement whether starts from zero crossing point. 0: measurement start immediately (default) 1: measurement start from zero-crossing point 12 measuretype this bit indicates the measurement type. 0: rms measurement (default) 1: mean value (dc average) measurement 11-1 - reserved. 0pmbusy this bit indicates the measure status. this bit is read-only. 0: measurement done (default) 1: measurement in progress address: 1ch type: read default value: 00a0h bit name description 15:0 - number of 8k samples to be averaged in rms/mean computation. address: 1dh type: read default value: 0000h bit name description 15:12 - reserved. 11:8 irmsclsb these bits indicate lsb of the corresponding phase rms measurement result if the measuretype bit (b12, pmconfig ) =0. these bits indicate msb of the corresponding phase mean measurement result if the measuretype bit (b12, pmconfig ) =1. 7:4 irmsblsb 3:0 irmsalsb
90E32 poly-phase high-performance wide-span energy metering ic register 49 december 9, 2011 6.4 configuration and ca libration registers 6.4.1 start registers and associated checksum operation scheme the start registers ( configstart (30h), calstart (40h), harmstart (50h) and adjstart (60h)) and associated register s / checksum have a special operation scheme to protect important confi guration data, illustrated below in the di agram. start registers have multiple valid settings for different operation modes. figure-16 start and checksum register operation scheme 6.4.2 configuration registers start register value usage operation 6886h power up state it is the value after reset. this state blocks checksum checking error generation 5678h calibration similar like 6886h, this state blocks checksum checking error generation. writing with this value trigger a reset to the associated registers. 8765h operation checksum checking is enabled and if error detected, irq/warn is asserted and metering stopped. other error force checksum error generation and system stop. table-5 configuration registers register address register name read/write type functional description power-on value and comments configuration registers * 30h configstart r/w calibration start command 6886h 31h plconsth r/w high word of pl_constant 0861h 32h plconstl r/w low word of pl_constant c468h 33h mmode0 r/w hpf/integrator on/off, cf and all-phase energy computation configuration 0087h 34h mmode1 r/w pga gain configuration 0000h 35h pstartth r/w active startup power threshold. 16 bit unsigned integer, unit: 0.00032 watt 0000h. 36h qstartth r/w reactive startup power threshold. 16 bit unsigned integer, unit: 0.00032 var 0000h 37h sstartth r/w apparent startup power threshold. 16 bit unsigned integer, unit: 0.00032 va 0000h xxxstart register start associated regisers checksum (computed) checksum computation 0 1 irq/warnout generation metering enable 0 1 checksum error error xxxstart = 5678h xxxstart = 8765h 0 1 checksum (programmed) compare error? user write user read ? xxxstart refers to configstart, calstart, harmstart and adjstart. those registers and their assoicated checksum computation has similar behavior. ? xxxstart registers reset value is 6886h. ? writing 5678h to xxxstart register will trigger a reset to its associated register. register can be accessed after reset. ? xxxstart associated register is the register between xxxstart and associated checksum 0 1 xxxstart = 6886h 0
90E32 poly-phase high-performance wide-span energy metering ic register 50 december 9, 2011 configstart configure start command plconsth high word of pl_constant plconstl low word of pl_constant 38h pphaseth r/w startup power threshold (for |p|+|q| of a phase) for any phase participating active energy accumula- tion. common for phase a/b/c. 0000h 16 bit unsigned integer, unit: 0.00032 watt/var 39h qphaseth r/w startup power threshold (for |p|+|q| of a phase) for any phase participating reactive energy accumula- tion. common for phase a/b/c. 0000h 16bit unsigned integer, unit: 0.00032 watt/var 3ah sphaseth rw startup power threshold (for |p|+|q| of a phase) for any phase participating apparent energy accumula- tion. common for phase a/b/c. 0000h 16 bit unsigned integer, unit: 0.00032 watt/var 3bh cs0 r/w checksum 0 checksum register. 421ch (calculated value after reset) note: for details, please refer to idt application note an-644. address: 30h type: read/write default value: 6886h bit name description 15 - 0 calstart[15:0] refer to 6.4.1 start registers and associated checksum operation scheme . address: 31h type: read/write default value: 0861h bit name description 15 - 0 plconsth[15:0] the plconsth[15:0] and plconstl[15:0] bits are high word and low word of pl_constant respectively. pl_constant is a constant which is proportional to the sampling ratios of voltage and current, and inversely proportional to th e meter constant. pl_constant is a threshold for energy calculated inside the chip, i.e., energy larger than pl_constant will be accumulated as 0.01cfx in the corresponding energy registers and then output on cfx if one cf reaches. it is suggested to set pl_constant as a multiple of 4 so as to double or redouble meter constant in low current state to save v er- ification time. address: 32h type: read/write default value: c468h bit name description 15 - 0 plconstl[15:0] the plconsth[15:0] and plconstl[15:0] bits are high word and low word of pl_constant respectively. it is suggested to set pl_constant as a multiple of 4. table-5 configuration registers register address register name read/write type functional description power-on value and comments
90E32 poly-phase high-performance wide-span energy metering ic register 51 december 9, 2011 mmode0 metering method configuration address: 33h type: read/write default value: 0087h bit name description 15-14 - reserved. 13 i1i3swap this bit defines phase mapping for i1 and i3: 0: i1 maps to phase a, i3 maps to phase c (default) 1: i1 maps to phase c, i3 maps to phase a note: i2 always maps to phase b. 12 freq60hz current grid operating line frequency. 0: 50hz (default) 1: 60hz 11 hpfoff disable hpf in the signal processing path. 10 didten enable integrator for didt current sensor. 0: disable (default) 1: enable 9 001lsb energy register lsb configuration for all energy registers: 0: 0.1cf (default) 1: 0.01cf 83p3w this bit defines the voltage/current phase sequence detection mode: 0: 3p4w (default) 1: 3p3w (ua is uab, uc is ucb, ub is not used) 7cf2varh cf2 pin source: 0: apparent energy 1: reactive energy (default) 6-reserved. 5-reserved. 4 absenq these bits configure the calculation method of tota l (all-phase-sum) reactive/active energy and power: 0: arithmetic sum: (default) et=ea*enpa+ eb*enpb+ ec*enpc pt= pa*enpa+ pb*enpb+ pc*enpc 1: absolute sum: et=|ea|*enpa+ |eb|*enpb+ |ec|*enpc pt=|pa|*enpa+ |pb|*enpb+ |pc|*enpc note: et is the total (all-phase-sum) energy, ea/eb/ec are the signed phase a/b/c energy respectively. reverse energy is neg- ative. pt is the total (all-phase-sum) power, pa/pb/pc are the signed phase a/b/c power respectively. reverse power is nega- tive. 3 absenp 2enpa these bits configure whether phase a/b/c are counted into the all-phase sum energy/power (p/q/s). 1: corresponding phase a/b/c to be counted into the all-phase sum energy/power (p/q/s) (default) 0: corresponding phase a/b/c not counted into the all-phase sum energy/power (p/q/s) 1enpb 0enpc
90E32 poly-phase high-performance wide-span energy metering ic register 52 december 9, 2011 mmode1 pga gain configuration address: 34h type: read/write default value: 0000h bit name description 15-14 dpga_gain digital pga gain for the 4 current channels. this gain is implemented at the end of decimation filter. 00: gain = 1 (default) 01: gain = 2 10: gain = 4 11: gain = 8 13-0 pga_gain pga gain for all adc channels. mapping: [13:12]: v3 [11:10]: v2 [9:8]: v1 [7:6]: - [5:4]: i3 [3:2]: i2 [1:0]: i1 encoding: 00: 1x (default) 01: 2x 10: 4x 11: n/a
90E32 poly-phase high-performance wide-span energy metering ic register 53 december 9, 2011 cs0 checksum 0 there are multiple start register and checks um (cs0/cs1/cs2/cs3) registers for different crucial register blocks. those registe rs are handled in the similar way. 6.4.3 energy calibration registers address: 3bh type: read/write default value: 421ch bit name description 15 - 0 cs0[15:0] this register should be written after the 31h-3ah registers are written. suppose the high byte and the low byte of the 31h-3ah registers are shown in the below table. the calculation of the cs0 register is as follows: the low byte of 3bh register is: l 3b =mod( h 31 + h 32 +...+ h 3a + l 31 + l 32 +...+ l 3a , 2^8) the high byte of 3bh register is: h 3b = h 31 xor h 32 xor... xor h 3a xor l 31 xor l 32 xor... xor l 3a the 90E32 calculates cs0 regularly. if the value of the cs0 re gister and the calculation by the 90E32 is different when config- start =8765h, the cs0err bit (b14, sysstatus0 ) is set and the warnout and irq pins are asserted. note : the readout value of the cs0 register is the calculation by the 90E32, which is different from what is written. table-6 calibration registers register address register name read/write type functional description power-on value calibration registers 40h calstart r/w calibration start command 6886h 41h poffseta r/w phase a active power offset 0000h 42h qoffseta r/w phase a reactive power offset 0000h 43h poffsetb r/w phase b active power offset 0000h 44h qoffsetb r/w phase b reactive power offset 0000h 45h poffsetc r/w phase c active power offset 0000h 46h qoffsetc r/w phase c reactive power offset 0000h 47h gaina r/w phase a active/reactive energy calibration gain 0000h 48h phia r/w phase a calibration phase angle 0000h 49h gainb r/w phase b active/reactive energy calibration gain 0000h register address high byte low byte 31h h 31 l 31 32h h 32 l 32 33h h 33 l 33 34h h 34 l 34 35h h 35 l 35 36h h 36 l 36 37h h 37 l 37 38h h 38 l 38 39h h 39 l 39 3ah h 3a l 3a
90E32 poly-phase high-performance wide-span energy metering ic register 54 december 9, 2011 poffseta phase a active power offset qoffseta phase a reactive power offset gaina phase a active/reactive energy calibration gain phia phase a calibration phase angle the phase b and phase c?s calibration registers are similar as phase a. 4ah phib r/w phase b calibration phase angle 0000h 4bh gainc r/w phase c active/reactive energy calibration gain 0000h 4ch phic r/w phase c calibration phase angle 0000h 4dh cs1 * r/w checksum 1 0000h note: the calculation of the cs1 register is similar as the cs0 register by calculating the 41h-4ch registers. for details, please refer to idt application note an-644. address: 41h type: read/write default value: 0000h bit name description 15-0 offset power offset. signed 16-bit integer. address: 42h type: read/write default value: 0000h bit name description 15-0 offset power offset. signed 16-bit integer. address: 47h type: read/write default value: 0000h bit name description 15-0 gain energy calibration gain. signed integer. actual power gain = (1+ gain) address: 48h type: read/write default value: 0000h bit name description 15 delayv 0: delay cycles are applied to current channel. (default) 1: delay cycles are applied to voltage channel. 14:10 - reserved. 9:0 delaycycles unit is 2.048mhz cycle. it is an unsigned 10 bit integer. table-6 calibration registers register address register name read/write type functional description power-on value
90E32 poly-phase high-performance wide-span energy metering ic register 55 december 9, 2011 6.4.4 fundamental/harmonic energy calibration registers 6.4.5 measurement calibration table-7 fundamental/harmonic energy calibration registers register address register name read/write type functional description power-on value 50h harmstart r/w harmonic calibration startup command 6886h 51h poffsetaf r/w phase a fundamental active power offset 0000h 52h poffsetbf r/w phase b fundamental active power offset 0000h 53h poffsetcf r/w phase c fundamental active power offset 0000h 54h pgainaf r/w phase a fundamental active power gain 0000h 55h pgainbf r/w phase b fundamental active power gain 0000h 56h pgaincf r/w phase c fundamental active power gain 0000h 57h cs2 * r/w checksum 2 0000h note: the calculation of the cs2 register is similar as the cs0 register by calculating the 51h-56h registers. for details, please refer to idt application note an-644. table-8 measurement calibration registers register address register name read/write type functional description power-on value 60h adjstart r/w measurement calibration startup command 6886h 61h ugaina r/w phase a voltage rms gain ce40h 62h igaina r/w phase a current rms gain 7530h 63h uoffseta r/w phase a voltage rms offset 0000h 64h ioffseta r/w phase a current rms offset 0000h 65h ugainb r/w phase b voltage rms gain ce40h 66h igainb r/w phase b current rms gain 7530h 67h uoffsetb r/w phase b voltage rms offset 0000h 68h ioffsetb r/w phase b current rms offset 0000h 69h ugainc r/w phase c voltage rms gain ce40h 6ah igainc r/w phase c current rms gain 7530h 6bh uoffsetc r/w phase c voltage rms offset 0000h 6ch ioffsetc r/w phase c current rms offset 0000h 6fh cs3 * r/w checksum 3 8ebeh note: the calculation of the cs3 register is similar as the cs0 register by calculating the 61h-6eh registers. here the value of 6dh and 6eh registers can only be read, value 6dh =7530h and value 6eh =0000h.
90E32 poly-phase high-performance wide-span energy metering ic register 56 december 9, 2011 6.5 energy register 6.5.1 regular energy registers enstatus0 metering status 0 table-9 regular energy registers register address register name read/write type functional description comment 80h apenergyt r/c total forward active energy resolution is 0.1cf/0.01cf. 0.01cf / 0.1cf set- ting is defined by the 001lsb bit (b9, mmode0 ). cleared after read. 81h apenergya r/c phase a forward active energy 82h apenergyb r/c phase b forward active energy 83h apenergyc r/c phase c forward active energy 84h anenergyt r/c total reverse active energy 85h anenergya r/c phase a reverse active energy 86h anenergyb r/c phase b reverse active energy 87h anenergyc r/c phase c reverse active energy 88h rpenergyt r/c total forward reactive energy 89h rpenergya r/c phase a forward reactive energy 8ah rpenergyb r/c phase b forward reactive energy 8bh rpenergyc r/c phase c forward reactive energy 8ch rnenergyt r/c total reverse reactive energy 8dh rnenergya r/c phase a reverse reactive energy 8eh rnenergyb r/c phase b reverse reactive energy 8fh rnenergyc r/c phase c reverse reactive energy 90h saenergyt r/c total (arithmetic sum) apparent energy 91h senergya r/c phase a apparent energy 92h senergyb r/c phase b apparent energy 93h senergyc r/c phase c apparent energy 95h enstatus0 r metering status 0 96h enstatus1 r metering status 1 address: 95h type: read default value: f000h bit name description 15 tqnoload all-phase-sum reactive power no-load condition detected. 14 tpnoload all-phase-sum active power no-load condition detected. 13 tasnoload all-phase-sum apparent power no-load condition detected. 12-4 - reserved. 3cf4revflag cf4/cf3/cf2/cf1 forward/reverse flag ? reflect the direction of the current cf pulse. 0: forward (default) 1: reverse 2cf3revflag 1cf2revflag 0cf1revflag
90E32 poly-phase high-performance wide-span energy metering ic register 57 december 9, 2011 enstatus1 metering status 1 6.5.2 fundamental / harm onic energy register 6.6 measurement registers 6.6.1 power and power factor registers address: 96h type: read default value: 0000h bit name description 15-7 - reserved. 6 sagphasea these bits indicate whether there is voltage sag on phase a, b or c respectively. 0: no voltage sag (default) 1: voltage sag 5 sagphaseb 4 sagphasec 3-reserved. 2 phaselossa these bits indicate whether there is a phase loss in phase a/b/c. 0: no phase loss (default) 1: phase loss. 1 phaselossb 0 phaselossc table-10 fundamental / harmonic energy register register address register name read/write type functional description comment a0h apenergytf r/c total forward active fundamental energy resolution is 0.1cf / 0.01cf. 0.01cf / 0.1cf setting is defined by the 001lsb bit (b9, mmode0 ). cleared after read. a1h apenergyaf r/c phase a forward active fundamental energy a2h apenergybf r/c phase b forward active fundamental energy a3h apenergycf r/c phase c forward active fundamental energy a4h anenergytf r/c total reverse active fundamental energy a5h anenergyaf r/c phase a reverse active fundamental energy a6h anenergybf r/c phase b reverse active fundamental energy a7h anenergycf r/c phase c reverse active fundamental energy a8h apenergyth r/c total forward active harmonic energy a9h apenergyah r/c phase a forw ard active harmonic energy aah apenergybh r/c phase b forwar d active harmonic energy abh apenergych r/c phase c forw ard active harmonic energy ach anenergyth r/c total reverse active harmonic energy adh anenergyah r/c phase a reverse active harmonic energy aeh anenergybh r/c phase b reverse active harmonic energy afh anenergych r/c phase c reverse active harmonic energy table-11 power and power factor register register address register name read/write type functional description comment b0h pmeant r total (all-phase-sum) active power complement, msb as the sign bit xx.xxx kw 1lsb corresponds to 1watt for phase a/b/c, and 4watt for total (all-phase-sum) b1h pmeana r phase a active power b2h pmeanb r phase b active power b3h pmeanc r phase c active power
90E32 poly-phase high-performance wide-span energy metering ic register 58 december 9, 2011 6.6.2 fundamental/ harmonic power a nd voltage/ current rms registers b4h qmeant r total (all-phase-sum) reactive power complement, msb as the sign bit xx.xxx kvar 1lsb corresponds to 1var for phase a/b/c, and 4var for total (all-phase-sum) b5h qmeana r phase a reactive power b6h qmeanb r phase b reactive power b7h qmeanc r phase c reactive power b8h sameant r total (arithmetic sum) apparent power complement, msb always '0' xx.xxx kva 1lsb corresponds to 1va for phase a/b/c, and 4va for total (all-phase-sum) b9h smeana r phase a apparent power bah smeanb r phase b apparent power bbh smeanc r phase c apparent power bch pfmeant r total power factor signed, msb as the sign bit x.xxx lsb is 0.001. range from -1000 to +1000 bdh pfmeana r phase a power factor beh pfmeanb r phase b power factor bfh pfmeanc r phase c power factor c0h pmeantlsb r lower word of total (all-phase-sum) active power lower word of active powers. 1llsb * corresponds to 4/256 watt c1h pmeanalsb r lower word of phase a active power lower word of active powers. 1llsb corresponds to 1/256 watt c2h pmeanblsb r lower word of phase b active power c3h pmeanclsb r lower word of phase c active power c4h qmeantlsb r lower word of total (all-phase-sum) reactive power lower word of re active powers. 1llsb corresponds to 4/256 var c5h qmeanalsb r lower word of phase a reactive power lower word of re active powers. 1llsb corresponds to 1/256 var c6h qmeanblsb r lower word of phase b reactive power c7h qmeanclsb r lower word of phase c reactive power c8h sameantlsb r lower word of total (a rithmetic sum) apparent power lower word of apparent powers. 1llsb corresponds to 4/256 va c9h smeanalsb r lower word of phase a apparent power lower word of apparent powers. 1llsb corresponds to 1/256 va cah smeanblsb r lower word of phase b apparent power cbh smeanclsb r lower word of phase c apparent power note: all the lower 8 bits of c0h-cbh registers and e0h-efh registers are always zero. only the higher 8 bits of these register s are valid. in this document, llsb means bit 8 of the lower registers as below: table-12 fundamental/ harmonic power and voltage/ current rms registers register address register name read/write type functional description comment d0h pmeantf r total active fundamental power complement, 16-bit integer with unit of 4watt. 1lsb corresponds to 4watt d1h pmeanaf r phase a active fundamental power complement, 16-bit integer with unit of 1watt. 1lsb corresponds to 1watt d2h pmeanbf r phase b active fundamental power d3h pmeancf r phase c active fundamental power d4h pmeanth r total active harmonic power complement, 16-bit integer with unit of 4watt. 1lsb corresponds to 4watt table-11 power and power factor register register address register name read/write type functional description comment b15 b14 b13 b12 b11 b10 b9 b8 (llsb) b7 b6 b5 b4 b3 b2 b1 b0
90E32 poly-phase high-performance wide-span energy metering ic register 59 december 9, 2011 6.6.3 thd+n, frequency, angle and temperature registers d5h pmeanah r phase a active harmonic power complement, 16-bit integer with unit of 1watt. 1lsb corresponds to 1watt d6h pmeanbh r phase b active harmonic power d7h pmeanch r phase c active harmonic power d9h urmsa r phase a voltage rms 1lsb corresponds to 0.01 v dah urmsb r phase b voltage rms dbh urmsc r phase c voltage rms dch irmsn0 r n line calculated current rms unsigned 16-bit integer with unit of 0.001a 1lsb corresponds to 0.001 a ddh irmsa r phase a current rms deh irmsb r phase b current rms dfh irmsc r phase c current rms e0h pmeantflsb r lower word of total active fundamental power lower word of d0h register. 1llsb * corresponds to 4/256 watt e1h pmeanaflsb r lower word of phase a active fundamental power lower word of regist ers from d1h to d3h. 1llsb corresponds to 1/256 watt e2h pmeanbflsb r lower word of phase b active fundamental power e3h pmeancflsb r lower word of phase c active fundamental power e9h urmsalsb r lower word of phase a voltage rms lower word of regist ers from d9h to dbh. 1llsb corresponds to 0.01/256v eah urmsblsb r lower word of phase b voltage rms ebh urmsclsb r lower word of phase c voltage rms edh irmsalsb r lower word of phase a current rms lower word of registers from ddh to dfh. 1llsb corresponds to 0.001/256a eeh irmsblsb r lower word of phase b current rms efh irmsclsb r lower word of phase c current rms note: all the lower 8 bits of c0h-cbh registers and e0h-efh registers are always zero. only the higher 8 bits of these register s are valid. in this document, llsb means bit 8 of the lower registers as below: table-13 thd+n, frequency, an gle and temperature registers register address register name read/write type functional description comment f1h thdnua r phase a voltage thd+n 1lsb corresponds to 0.01% f2h thdnub r phase b voltage thd+n f3h thdnuc r phase c voltage thd+n f5h thdnia r phase a current thd+n 1lsb corresponds to 0.01% f6h thdnib r phase b current thd+n f7h thdnic r phase c current thd+n f8h freq r frequency 1lsb corresponds to 0.01% hz f9h panglea r phase a mean phase angle signed, msb as the sign bit 1lsb corresponds to 0.1-degree, -180.0~+180.0 fah pangleb r phase b mean phase angle fbh panglec r phase c mean phase angle table-12 fundamental/ harmonic power and voltage/ current rms registers register address register name read/write type functional description comment b15 b14 b13 b12 b11 b10 b9 b8 (llsb) b7 b6 b5 b4 b3 b2 b1 b0
90E32 poly-phase high-performance wide-span energy metering ic register 60 december 9, 2011 fch temp r measured temperature 1lsb corresponds to 1 c signed, msb as the sign bit fdh uanglea r phase a voltage phase angle always ?0? feh uangleb r phase b voltage phase angle signed, msb as the sign bit take phase a voltage as base voltage 1lsb corresponds to 0.1 degree, -180.0~+180.0 ffh uanglec r phase c voltage phase angle table-13 thd+n, frequency, an gle and temperature registers register address register name read/write type functional description comment
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 61 december 9, 2011 7 electrical specification 7.1 electrical specification parameter min typ max unit test condition/ comments accuracy dc power supply rejection ratio (psrr) 0.1 % vdd=3.3v 0.3v, i=5a, v=220v, ct 1000:1, sam- pling resistor 4.8 ? ac power supply rejection ratio (psrr) 0.1 % vdd=3.3v superimposes 400mvrms, i=5a, v=220v, ct 1000:1, sampling resistor 4.8 ? active energy error (dynamic range 5000:1) 0.1 % ct 1000:1, sampling resistor 4.8 ? adc channel differential input voltage 0.12 0.07 0.04 600 300 160 mvrms pga=1 pga=2 pga=4 analog input pin absolute voltage range gnd-300 vdd- 1200 mv channel input impedance 120 80 50 k ? pga=1 pga=2 pga=4 channel sampling frequency 8 khz channel sampling bandwidth 2 khz temperature sensor and reference temperature sensor accuracy 1 c reference voltage 1.2 3.3 v, 25 c reference voltage temperature coefficient 6 15 ppm/ c from -40 to 85 c current detectors current detector threshold range 2 3 4 mvrms 3.3 v, 25 c current detector threshold setting step/ resolution 0.096 mvrms 3.3 v, 25 c current detector detection time (single-side) 32 ms current detector detection time (double-side) 17 ms crystal oscillator oscillator frequency ( f sys_clk ) 16.384 mhz the accuracy of crystal or external clock is 20 ppm, 10pf ~ 20pf crystal load capacitor integrated. power supply avdd 2.8 3.3 3.6 dvdd 2.8 3.3 3.6 vdd18 1.8 v operating currents normal mode operating current (i-normal) 25 ma 3.3 v, 25 c idle mode operating current (i-idle) 2.2 10 a 3.3 v, 25 c detection mode operating current (i-detection) 180 100 250 140 a double-side detection (at 3.3 v, 25 c) single-side detection (at 3.3 v, 25 c) partial measurement mode operating current (i-measurement) 6.8 ma 3.3 v, 25c spi slave mode (spi) bit rate 100 1200k note 1 bps esd machine model (mm) 400 v jesd22-a115 charged device model (cdm) 1000 v jesd22-c101 human body model (hbm) 6000 v jesd22-a114 latch up 100 ma jesd78a latch up 5.4 v jesd78a dc characteristics digital input high level (all digital pins except osci) 2.4 vdd v vdd=3.3v
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 62 december 9, 2011 digital input low level (all digital pins except osci) 0.8 v vdd=3.3v digital input leakage current 1 a vdd=3.6v, vi=vdd or gnd digital output low level (cf1, cf2, cf3, cf4) 0.4 v vdd=3.3v, i ol =8ma digital output low level (irq0, irq1, warnout, zx0, zx1, zx2, sdo) 0.4 v vdd=3.3v, i ol =5ma digital output high level (cf1, cf2, cf3, cf4) 2.8 v vdd=3.3v, i oh =-8ma, by separately digital output high level (irq0, irq1, warnout, zx0, zx1, zx2, sdo) 2.8 v vdd=3.3v, i oh =-5ma, by separately note 1: the maximum spi bit rate during current detector calibration is 900k bps. parameter min typ max unit test condition/ comments
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 63 december 9, 2011 7.2 metering/ me asurement accuracy 7.2.1 metering accuracy metering accuracy or energy accura cy is calculated with relative error: where e mea is the energy measured by the meter, e real is the actual energy measured by a high ac curate normative meter. % 100 ? = real real mea e e e table-14 metering accuracy for differ ent energy within the dynamic range energy type energy pulse adc range when gain=1 metering accuracy note 1 active energy (per phase and all-phase-sum) cf1 pf=1.0 120 v-600mv 0.1% pf=0.5l, 180 v-600mv pf=0.8c, 150 v-600mv reactive energy (per phase and all-phase-sum) cf2 sin =1.0 120 v-600mv 0.2% sin =0.5l, 180 v-600mv sin =0.8c, 150 v-600mv apparent energy (per phase and arithmetic all-phase-sum) cf2 600 v-600mv note 2 0.2% fundamental active energy (per phase and all-phase-sum) cf3 pf=1.0 120 v-600mv 0.2% pf=0.5l, 180 v-600mv pf=0.8c, 150 v-600mv harmonic active energy (per phase and all-phase-sum) cf4 pf=1.0 120 v-600mv 0.5% pf=0.5l, 180 v-600mv pf=0.8c, 150 v-600mv note 1: all the parameters in this table is tested on idt?s test platform. note 2: apparent energy is tested using active energy with unity power factor since there?s no standard for apparent energy. si gnal below 600 v is not tested.
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 64 december 9, 2011 7.2.2 measurement accuracy the measurements are all calculated with fiducial error except for frequency and thd. fiducial error is calculated as follows: where u mea means the measured data of one measurement parameter, and u real means the real/actual data of the parameter, u fv means the fiducial value of th is measurement parameter, which can be defined as table-15 . for the above mentioned parameters, the measurement accuracy requirement is 0.5% maximum. for frequency, temperature, thd+n: parameter accuracy frequency: 0.01hz temperature: 1 c accuracy of all orders of harmonics: 5% relative error harmonic component% = where means the measuring value of the h th harmonic voltage/ current; means the given or actual value of the h th harmonic voltage/ current. 100% * u u - u rror fiducial_e fv real mea = table-15 measurement parameter range and format measurement fiducial value (fv) 90E32 defined format range comment voltage reference voltage un xxx.xx 0 ~ 655.35v unsigned integer with unit of 0.01v current maximum current imax (4in is recommended) xx.xxx 0 ~ 65.535a unsigned integer with unit of 0.001a voltage rms un xxx.xx 0 ~ 655.35v unsigned integer with unit of 0.01v current rms note 1 ib/in xx.xxx 0 ~ 65.535a unsigned integer with unit of 0.001a active/ reactive power note 1 un 4ib xx.xxx -32.768 ~ +32.767 kw/kvar signed integer with unit/lsb of 1 watt/var apparent power un 4ib xx.xxx 0 ~ +32.767 kva unsigned integer with unit/lsb of 1 va frequency reference frequency 50 hz xx.xx 45.00~65.00 hz signed integer with unit/lsb of 0.01hz power factor 1.000 x.xxx -1.000 ~ +1.000 signed integer, lsb/unit = 0.001 phase angle note 2 180 o xxx.x -180 o ~ +180 o signed integer, unit/lsb = 0.1 o thd+n relative error is adopted, no fiducial value xx.xx 0.00%-99.99% unit is 0.01% note 1: all registers are of 16-bit. for cases when the current or active/reactive/apparent power goes beyond the above range, it is su ggested to be handled by mcu in application. for example, register value can be calibrated to 1/2 of the actual value during calibration, then multiply 2 in ap plication. note 2: phase angle is obtained when voltage/current cros ses zero at the sampling frequency of 256khz. 100 i u i u i u hn hn h ? ) ( ) ( ) ( h i u ) ( hn i u ) (
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 65 december 9, 2011 7.3 interface timing 7.3.1 spi interface timing (slave mode) the spi interface timing is as shown in figure-17 and table-16 . figure-17 spi timing diagram table-16 spi timing specification symbol description min. typical max. unit t csh minimum cs high level time 2t note 1 +10 ns t css cs setup time 2t+10 ns t csd cs hold time 3t+10 ns t cld clock disable time 1t ns t cyc sclk cycle 7t+10 ns t clh clock high level time 5t+10 ns t cll clock low level time 2t+10 ns t dis data setup time 2t+10 ns t dih data hold time 1t+10 ns t dw minimum data width 3t+10 ns t pd output delay 2t+20 ns t df output disable time 2t+20 ns note: 1. t means system clock cycle. t=1/ f sys_clk cs sclk sdi sdo t csh t css high impedance high impedance t csd t clh t cll t dis t dih t pd t df valid input valid output t cld t dw t cyc
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 66 december 9, 2011 7.4 power on reset timing in most case, the power of 90E32 and mcu are both derived from 220v power lines. to make sure 90E32 is reset and can work properly, mcu must force 90E32 into idle mode firstly and then into normal mode. in this operation, reset is held to high in idle mode and de-asserted by delay t1 after idle-nor mal transition. refer to figure-18 . figure-18 power on reset timing (90E32 and mcu are powered on simultaneously) figure-19 power on reset timing in normal & partial measurement mode table-17 power on reset specification symbol description min typ max unit v h power on trigger voltage 2.5 2.7 v t 0 duration forced in idle mode after power on 1 ms t 1 delay time after power on or exit idle mode 5 16 40 ms pm[1:0] idle mode normal mode dvdd mcu startup reset t 1 t 0 dvdd reset t 1 v h
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 67 december 9, 2011 7.5 zero-cross ing timing figure-20 zero-crossing ti ming diagram (per phase) table-18 zero-crossing specification symbol description min typ max unit t zx high level width 5 ms t d delay time 0.2 0.5 ms zx (positive zero-crossing) zx (negative zero-crossing) zx (all zero-crossing) t zx t d v
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 68 december 9, 2011 7.6 voltage sag and phase loss timing figure-21 voltage sag and phase loss timing diagram time voltage + threshold - threshold irq (if enabled) 11ms window sag/phase loss condition found in two consecutive windows assert of voltage sag / phase loss
90E32 poly-phase high-performance wide-span energy metering ic electrical specification 69 december 9, 2011 7.7 absolute maximum rating parameter maximum limit relative voltage between avdd and agnd -0.3v~3.7v relative voltage between dvdd and dgnd -0.3v~3.7v analog input voltage (i1p, i1n, i2p, i2n, i3p, i3n, v1p, v1n, v2p, v2n, v3p, v3n) -0.6v~avdd digital input voltage -0.3v~3.6v operating temperature range -40~85 c maximum junction temperature 150 c package type thermal resistance ja unit condition tqfp48 41 c/w no airflow
90E32 poly-phase high-performance wide-span energy metering ic 70 december 9, 2011 package dimensions
for tech support: 86-21-64958900 email:powermeterhelp@idt.com 71 90E32 poly-phase high-performance wide-span energy metering ic corporate headquarters 6024 silver creek valley road san jose, ca 95138 www.idt.com for sales: 86-21-64958900 idt and the idt logo are trademarks of integrated device technology, inc. 71 ordering information datasheet document history 12/9/2011 pages. 22, 33, 34, 38, 47, 58, 59, 62, 70 xxxxx xxx x device type i temperature range industry (-40 to +85 ) poly-phase high-performance wide-span energy metering ic erg tqfp48 90E32 package


▲Up To Search▲   

 
Price & Availability of 90E32

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X